Replies: 1 comment 1 reply
|
I plugged my JWT I got from supabase into https://jwt.io/ and found:
I only verified audience on my JWT, so I'm not 100% sure I'm right abut authority. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
So setting up supabase on my frontend seems pretty straight forward, but I have a separate backend I want to use for my API layer. If I'm using supabase on my front end though, I need to be able to validate the JWT on the backend to make sure it's valid. This would generally be done with an authority and audience, where the authority would be a tenant domain and the audience is a particular api (i.e. the supabase project). For example:
But i don't see anything like this anywhere in my supabase config. Does that mean that I'm out of luck if I want to use the supabase auth and db, but have a separate backend to act as my api?
All reactions