© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
5mo ago
Christophe
Session remains NotAuthenticated on iOS after OAuth login using supabase-kt
Hi everyone
I
'm using supabase
-kt
(Compose Multiplatform
) in my KMP project with multiple auth providers
(Google
, Facebook
, Apple
, etc
.
)
.
On Android
, everything works fine
— after the provider login
, my session status correctly changes to Authenticated
.
However
, on iOS
, after completing the Facebook login flow
, I get redirected back to my app via
:
.onOpenURL
(perform
:
{ url in
print
(
"
onOpenURL handled
:
(
url
)
"
)
}
)
The redirect URL is correctly received
(and printed
)
, but my sessionStatus stays stuck at
:
SessionStatus
.NotAuthenticated
even though I can see in the Supabase logs that the authentication flow succeeded
.
Do I need to call something like supabase
.auth
.exchangeCodeForSession
(url
)
(or similar
) manually inside onOpenURL
?
Or is there another recommended way to handle the auth redirect on iOS with supabase
-kt
?
Thanks in advance
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
New supabase-kt
S
Supabase / help-and-questions
4y ago
Supabase Flutter Mobile App Login Session Issue (iOS)
S
Supabase / help-and-questions
13mo ago
Supabase forces page redirect after oAuth login?
S
Supabase / help-and-questions
4y ago
Supabase Flutter IOS Login
S
Supabase / help-and-questions
2mo ago