© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
Shawn Conecone

Should I pass token from client to API (Which will use Supabase) via Query Parameters?

Hello, potential noob question here.

I'm trying to use my API to query supabase. To do this, I need to pass the auth JWT token from the client to the API first. Upon researching the safety of this method, I came across this SO post: https://stackoverflow.com/questions/32722952/is-it-safe-to-put-a-jwt-into-the-url-as-a-query-parameter-of-a-get-request.

The top answer mentions the conditions in which this method is safe to do. Does supabase implement these, subsequently making passing the token via query parameter ok?

If this is not the correct method, how should this be done? If possible, via method that still involves the API, and not doing client-supabase query directly.
Stack Overflow
Is it safe to put a jwt into the url as a query parameter of a GET ...
Is it safe to put a jwt (json web token) into the url as a query parameter of a GET request?
Is it safe to put a jwt into the url as a query parameter of a GET ...
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

authenticate user from js client, pass token to python api
SupabaseSSupabase / help-and-questions
4y ago
Help with query via the client API
SupabaseSSupabase / help-and-questions
3y ago
Which supabase service should I use for a depends_on directive?
SupabaseSSupabase / help-and-questions
2mo ago
Access Token from Google OAuth to supabase?
SupabaseSSupabase / help-and-questions
3y ago