Error Analysis
Error E062209 indicates a token exchange failure with your OAuth provider . This typically occurs when the OAuth configuration between Descope and your provider is incorrect.
Common Causes
1.
Client credentials mismatch - Wrong client ID or client secret in Descope
2.
Redirect URI mismatch - The redirect URI in your OAuth provider doesn't match what Descope is sending
3.
Provider configuration issues - Incorrect OAuth app settings on the provider side
Troubleshooting Steps
1. Verify your OAuth provider configuration in Descope console
2. Check that client ID and client secret match your OAuth app exactly
3. Ensure redirect URIs are properly configured and match between Descope and your provider
4. Confirm your OAuth app is enabled and properly configured on the provider side
The specific error suggests the token exchange step failed during the OAuth flow , which happens after the user authenticates but before Descope can complete the login process.
Descope Common Errors | Descope Documentation
How to Fix Redirect URI and Client Credentials Errors
OAuth with Backend SDK | Descope Documentation