© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
3 replies
lucasneg

authenticate user from js client, pass token to python api

Hi

I currently have a js web app that authenticates with supabase.

I also have a python API that is connected to this web app.

I want to secure the endpoints on this API, only allowing particular users to perform specific actions on this python API.

How can I authenticate the user on the python side? Is there a token I can pass from the frontend and add to the header object of the python supabase client, and ensure the user is who they claim to be?

Thanks
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 without JS
SupabaseSSupabase / help-and-questions
4y ago
Pass auth/session key from JS to python
SupabaseSSupabase / help-and-questions
3y ago
Should I pass token from client to API (Which will use Supabase) via Query Parameters?
SupabaseSSupabase / help-and-questions
4y ago
Python client questions
SupabaseSSupabase / help-and-questions
5mo ago