issues
search
supabase
/
auth-js
An isomorphic Javascript library for Supabase Auth.
MIT License
318
stars
152
forks
source link
fix: return error if missing session or missing custom auth header
#891
Closed
kangmingtay
closed
2 months ago
kangmingtay
commented
2 months ago
What kind of change does this PR introduce?
Adds a new property
hasCustomAuthorizationHeader
which will be set by supabase-js
getUser
should return an
AuthSessionMissingError
if there is no session and no custom auth header is set
What kind of change does this PR introduce?
hasCustomAuthorizationHeader
which will be set by supabase-jsgetUser
should return anAuthSessionMissingError
if there is no session and no custom auth header is set