-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Context
This issue tracks an enhancement to handle custom redirectURL overrides in the redirect URI matching logic introduced in PR #223.
Problem
The login and register methods allow callers to pass a custom options.redirectURL parameter. However, the new redirect URI matching logic in KindeProvider.tsx only checks against the module-level redirectUri prop. This means callbacks to a per-call redirect URL would skip code handling.
Proposed Solution
Persist the effective redirect URL used for each auth request (e.g., in session/local storage or encoded in the state parameter) and match against that value (or an allowed list) during the redirect handling phase.
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels