API Security Best Practices - curity

https://curity.io/resources/learn/api-security-best-practices/

Always Use a Gateway

Always Use a Central OAuth Server

Only Use JSON Web Tokens Internally

Use Scopes for Coarse-Grained Access Control

Use Claims for Fine-Grained Access Control at the API Level

Trust No One

Create or Reuse Libraries for JWT Validation

Do Not Mix Authentication Methods

Protect All APIs

Issue JWTs for Internal Clients Inside Your Network

Use JSON Web Key Sets for Key Distribution

Always Audit

Manage Claims Centrally

Abuse Doesn't Have to Be a Breach