Skip to content
Discussion options

You must be logged in to vote

You should respond to the comments rather than start a new one.

Your custom jwt has to go in the authenticated header, not the apikey. The apikey should be the anon one. If supabase_jwt is your custom jwt that is not the place to put it.

https://supabase.com/docs/reference/javascript/initializing?example=with-additional-parameters

You add Authorization header with the header option. The Authorization header needs to be Bearer my_custom_jwt.

Also from my first link above:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GaryAustin1
Comment options

Answer selected by samlown
@samlown
Comment options

@samlown
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants