-
Notifications
You must be signed in to change notification settings - Fork 482
Open
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
The docs list claims that are "always present in Supabase JWTs". While some like iss
and sub
are present in the RequiredClaims
object, email
, phone
, and is_anonymous
are not (see below). This interferes with type checking e.g. of claims.email
within the object returned by supabase.auth.getClaims()
.
To Reproduce
See above.
Expected behavior
All required claims listed in the docs are present.
Screenshots
N/A
System information
N/A
Additional context
N/A
patsaas
Metadata
Metadata
Assignees
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working