Skip to content

feat: exposing keyName to SupabaseContext#22

Merged
tomaspozo merged 3 commits intomainfrom
ks/expose-keyname-to-supabase-context
Apr 1, 2026
Merged

feat: exposing keyName to SupabaseContext#22
tomaspozo merged 3 commits intomainfrom
ks/expose-keyname-to-supabase-context

Conversation

@kallebysantos
Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bug fix, feature, docs update

What is the current behavior?

  • SupabaseContext doesn't have the auth.keyName which would be useful for some cases.
  • Also, while specifying secret:key there's a bug which requires this key to be defined at publishableKeys environment prop.

What is the new behavior?

  • Exposing authKeyName property to SupabaseContext
  • Apply authType verification before passing down the keyName while creating the supabase client

@kallebysantos kallebysantos requested a review from tomaspozo March 31, 2026 22:21
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.

This is a great addition! and fix too :)

@tomaspozo tomaspozo merged commit 7f1b1a7 into main Apr 1, 2026
2 of 3 checks passed
@tomaspozo tomaspozo deleted the ks/expose-keyname-to-supabase-context branch April 1, 2026 01:27
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