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

linkIdentity has no way to get providerToken

Open imownbey opened this issue 8 months ago • 0 comments

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

  1. call linkIdentity
  2. 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.

imownbey avatar May 19 '25 16:05 imownbey