Skip to content

Authentication & Authorization

Authentication and authorization in API

Python PyJWT package will be used create signed tokens and validate them.

pip install cryptography pyjwt
  • OAuth : Open Authorization
  • OpenID Connect

OAuth Flows :

  1. Authorization code flow
  2. pkce flow
  3. client credentials flow
  4. refresh token flow

Authorization Code Flow