2
Supabase Auth in immutable auth object in JWT
Source: supabase/supabase#27292 · opened by @williamparry
At the moment if I use Supabase Auth and connect it to Discord, the only way I can access the Discord user information in my application is via user_metadata, which is able to be changed via a Supabase API call.
Could you please put auth-related information in a separate immutable object as part of the JWT object (I can't see why we would want it mutable) so that it's easy to access as part of an RLS policy? The idea of using webhooks to populate your own auth table seems excessive and tricky.
I have discussed this topic at length in this thread:
Could you please put auth-related information in a separate immutable object as part of the JWT object (I can't see why we would want it mutable) so that it's easy to access as part of an RLS policy? The idea of using webhooks to populate your own auth table seems excessive and tricky.
I have discussed this topic at length in this thread:
No pledges yet. Be the first to back this.
Comments
Similar requests
Changing JWTs to RS256 to verify JWT inside getSession() anywhere
4 votes · 0 comments
Email Verification API support with SD-JWT for native email verification
2 votes · 0 comments
Request to Enable External JWT Authentication with Firebase (Project: dropnow-2025)
1 vote · 0 comments
Authentication using API keys?
3 votes · 0 comments
Want to use Supabase Storage with other Auth (custom JWT)
3 votes · 0 comments
No comments yet.