-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return error if missing session or missing custom auth header (#891
) ## 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 --------- Co-authored-by: Stojan Dimitrovski <[email protected]>
- Loading branch information
1 parent
a26f771
commit 8d16578
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters