Skip to content

docs: document userClaims and authKeyName in context#33

Merged
tomaspozo merged 1 commit intosupabase:mainfrom
TupiC:docs/update-auth-context-field-names
Apr 21, 2026
Merged

docs: document userClaims and authKeyName in context#33
tomaspozo merged 1 commit intosupabase:mainfrom
TupiC:docs/update-auth-context-field-names

Conversation

@TupiC
Copy link
Copy Markdown
Contributor

@TupiC TupiC commented Apr 21, 2026

What kind of change does this PR introduce?

docs update

What is the current behavior?

docs referenced ctx.user instead of defined ctx.userClaims for JWT-derived claims in user auth mode

What is the new behavior?

updated docs to correctly reference ctx.userClaims and optional authKeyName

Copy link
Copy Markdown
Member

@tomaspozo tomaspozo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@tomaspozo tomaspozo merged commit 4bfdc3f into supabase:main Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants