© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
jimmy_gnoshi

Using Session from PKCE Auth from iOS App to Query Over Tables with Supabase Server Client

My app authenticates users with the Swift supabase client. I can get a session this way. Then, to access database info, I have my own custom Express server that the app talks to. I want the iOS app to pass along this session info to Express, which makes use of a Supabase Server Client, to then make queries on my table. This way, I can benefit from the RLS rules that apply to the end user.

For the life of me, I can’t figure it out… all of the guides in the docs seem web-focused. My application is a pure API. Any caller should ideally be able to pass along its session info, and my Express server unpack it and pass it along to the Supabase Server Client.

How can I do this?
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

Supabase Flutter Mobile App Login Session Issue (iOS)
SupabaseSSupabase / help-and-questions
13mo ago
supabase.auth.session() Error
SupabaseSSupabase / help-and-questions
4y ago
Failed to start session: pkce(Auth.AuthError.PKCEFailureReason.invalidPKCEFlowURL)
SupabaseSSupabase / help-and-questions
6mo ago
Session from `supabase.auth.exchangeCodeForSession()` not persisting
SupabaseSSupabase / help-and-questions
3y ago