mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Update TypeScript example to use createAuth0Client factory function and ID tokens as the primary approach. Add warning about Auth0 silently stripping non-namespaced custom claims from access tokens. Ref: supabase/supabase-js#1770 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated Auth0 integration to a newer client initialization pattern. * Switched examples to use the ID token instead of access tokens for Supabase and added explicit failure behavior when the ID token is missing. * Updated Auth0 Action guidance to set the claim on the ID token. * Added a caution that Supabase requires the literal "role" claim and that non-namespaced custom claims are stripped from access tokens. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Jeremias Menichelli <jmenichelli@gmail.com>