Friction

Pain point · Documentation · Blocks work

Auth function error messages are not documented

1 source thread · first seen 2024-03

Summary

Return values and error messages of auth functions are undocumented, making client-side error handling hard. The reporter reverse-engineered the dependency tree to list them.

Affects
Developers handling auth errors in supabase-js
Workaround
Read the gotrue source to list possible errors

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“The potential return values of most of the auth functions are not documented, which makes it hard to handle potential errors client-side”

Report this item