supabase-js icon indicating copy to clipboard operation
supabase-js copied to clipboard

feat(auth): add suppressedPaths option for non-supabase oauth flows

Open 7ttp opened this issue 2 months ago • 1 comments

adds suppressedPaths option to skip implicit grant detection on specific paths.

useful when using third party oauth (like facebook login) that returns tokens in the url, prevents supabase from intercepting tokens not meant for it and logging users out.

7ttp avatar Dec 14 '25 21:12 7ttp

hey @mandarini 😥 wanted to check if this approach makes sense for handling non supabase oauth flows. basically the idea is letting users specify paths where supabase skips token detection so third party callbacks (fb, insta, etc) don't get intercepted. happy to change/continue things up if you have a different approach in mind!

7ttp avatar Dec 14 '25 22:12 7ttp