auth-js
auth-js copied to clipboard
linkIdentity has no way to get providerToken
Bug report
- [x] I confirm this is a bug with Supabase, not with my own application.
- [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
As far as I can tell, both pcke and non-pcke flows (even when turning detectSessionInUrl to false), there is no way to get a provider token when someone links an identity.
I think there needs to be in order to make that functionality useful.
To Reproduce
- call linkIdentity
- Try to access providerToken in any way on the redirectTo URL
Expected behavior
Without being able to access the provider token this functionality isn't very helpful.