© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•17mo ago•
12 replies
Chad Norvell

JWT secret format?

On my production Supabase project, the generated JWT secret looks like it's base64 encoded. But in the local development instance the JWT secret is
super-secret-jwt-token-with-at-least-32-characters-long
super-secret-jwt-token-with-at-least-32-characters-long
, which isn't valid base64.

For context, I'm verifying JWT signatures, so I need to get the JWT secret in bytes. I assumed I could base64 decode the string, but that doesn't work for local development.

How should I be decoding the string?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

HOW TO USE JWT SECRET
SupabaseSSupabase / help-and-questions
5mo ago
How to generate JWT_SECRET?
SupabaseSSupabase / help-and-questions
4y ago
Custom JWT Secret (from Firebase)
SupabaseSSupabase / help-and-questions
4y ago
Set or Update branch JWT_SECRET
SupabaseSSupabase / help-and-questions
3mo ago