@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
8 lines (7 loc) • 332 B
TypeScript
/**
* Checks if the defined redirect after successful SSO login is in the allow list
* @param provider SSO provider name
* @param redirect URL to redirect to after login
* @returns True if the redirect is allowed, false otherwise
*/
export declare function isLoginRedirectAllowed(provider: string, redirect: unknown): boolean;