Oren Pinkas
04/07/2026, 10:05 AMDevRev
04/07/2026, 10:06 AMredirect_uri values.
### How Descope Handles Redirect URI Validation
Descope validates redirect URIs at the project level using _Approved Domains_:
• Navigate to Project Settings → Security → Approved Domains
• Configure the domains that are allowed for redirect and verification URLs across all authentication methods
• Redirect URIs are validated against this trusted domain list
• ⚠️ Leaving Approved Domains empty disables validation and creates security vulnerabilities — so this should always be configured.
### Recommendation
To protect against open redirect attacks:
1. Set Approved Domains — Go to Project Settings → Security → Approved Domains and configure the domains that are allowed for redirect and verification URLs.Akash Jivane
04/07/2026, 10:29 AM/authorize and /token endpoints. This is the standard BFF auth pattern.
There is no per-app redirect_uri allowlist for OIDC Federated Apps The OIDC Federated App settings only expose a Flow Hosting URL, Issuer/Discovery URL, and a Client ID/Secret. There's no dedicated redirect_uri allowlist field at the app level for this type.
How Descope handles redirect URI validation Redirect URI validation is enforced at the project level via Approved Domains: → Project Settings → Security → Approved Domains
All redirect URIs used across your OIDC flows are validated against this list. A few important things to know:
• Enter domains without the protocol (e.g. <http://yourdomain.com|yourdomain.com>, not <https://yourdomain.com>)
• Leaving this empty completely disables validation — which is a real open redirect risk in production, so always keep this populated
• For your BFF, just add the domain(s) your callback endpoint lives on
BFF-side enforcement As an additional layer, your BFF gateway should also validate the redirect_uri against its own registered list before forwarding the OIDC authorization request. This is standard OAuth 2.0 defense-in-depth, independent of what Descope enforces.
So basically, Descope's Approved Domains + your BFF's own redirect validation = proper protection against open redirect attacks for this setup.
Just let me know if this helps you.Oren Pinkas
04/07/2026, 10:39 AM