Auth: Inconsistent Password Reset redirect_to URLs Between Custom Domains and .web.app #1842
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
Password reset redirect URL handling is inconsistent between Firebase-hosted .web.app domains and custom domains. When using a custom domain, Supabase doesn't include the hash fragment (
/#/reset-callback
) in theredirect_to
URL, though it does include it for .web.app domains.To Reproduce
Expected URLs in reset email:
Actual URLs:
Expected behavior
Supabase should include the hash fragment (
/#/reset-callback
) in the redirect URL consistently for both .web.app and custom domains when it's specified in the Redirect URLs configuration.System information
Additional context
Currently requires a JavaScript workaround to handle the redirect properly on custom domains:
This workaround shouldn't be necessary if the redirect URL was handled consistently.
The text was updated successfully, but these errors were encountered: