FeatureFuel
1

Friendlier `exchangeCodeForSession()` error messages for missing auth code / code verifier (gotrue-js)

Source: supabase/supabase#17252 · opened by @kasper9n
Currently this is the error message you get from exchangeCodeForSession() when a user clicks a login link on a different device:
> invalid request: both auth code and code verifier should be non-empty

It would be great if gotrue-js detected that this was missing beforehand, and then provided a nice error message like this:
> Code verifier missing. Make sure to use the same device to complete the login!

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests