Friendlier exchangeCodeForSession() error messages for missing auth code / code verifier (gotrue-js)
#17252
Unanswered
kasper9n
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently this is the error message you get from
exchangeCodeForSession()when a user clicks a login link on a different device:It would be great if gotrue-js detected that this was missing beforehand, and then provided a nice error message like this:
https://github.com/supabase/gotrue-js/blob/2438c0c3c3ce952d85cac9c16095fef439a64174/src/GoTrueClient.ts#L495-L504
All reactions