Skip to main content

Programmatic Redirect Domain Whitelist

Summary

The Programmatic Redirect Domain Whitelist is used to restrict the allowed redirect URLs when using programmatic login.

Note

Whitelisted domains must match the redirect URL exactly; otherwise, the domain will be rejected.

For example, whitelisting example.com will only accept a redirect URL that matches example.com.

dev.example.com will be rejected, as the hostname does not exactly match example.com.

How to configure

Config file keysEnvironment variablesTypeUsageDefault
programmatic_redirect_domain_whitelistPROGRAMMATIC_REDIRECT_DOMAIN_WHITELISTstring (array)optionallocalhost

Examples

programmatic_redirect_domain_whitelist:
- localhost
- redirect-uri.com
PROGRAMMATIC_REDIRECT_DOMAIN_WHITELIST=localhost,redirect-uri.com