OAuth2 Flow Diagrams
This page provides visual representations of OAuth2 authentication flows in Appsmith to help you understand how the authentication process works.
Authorization Code Flow
Token Refresh Flow
Error Handling Flow
Common OAuth2 Errors
Here are some common OAuth2 errors you might encounter and their typical causes:
-
invalid_request
- Missing required parameters
- Invalid parameter values
- Multiple credentials provided
-
invalid_client
- Client authentication failed
- Invalid Client ID or Secret
- Unauthorized client
-
invalid_grant
- Authorization code expired
- Refresh token invalid
- Redirect URI mismatch
-
unauthorized_client
- Client not authorized for grant type
- Application permissions revoked
- Invalid scope requested
-
invalid_scope
- Requested scope is invalid
- Scope exceeds granted permissions
- Unknown scope values