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!
> 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.
Comments
Similar requests
code and code verifier issue in documentation
2 votes · 0 comments
Allow magic links directly to website, skipping `[...].supabase.co/auth` (for PKCE)
4 votes · 0 comments
Standardize Error Codes Across Supabase Ecosystem
1 vote · 0 comments
Queue detail page: allow sorting messages by date descending (newest first)
1 vote · 0 comments
Send error codes for errors
3 votes · 0 comments
No comments yet.