Choose the right OAuth flow
Public browser and mobile clients cannot safely keep a client secret. Use Authorization Code with PKCE, register exact redirect URIs and avoid the deprecated implicit flow. Confidential server-side clients should still use PKCE where supported.
- Identify whether the client is public or confidential
- Register exact redirect URIs
- Use Authorization Code with PKCE