Open
Description
General Info
- I checked for similar bug report
- I am using the latest version
- I checked the troubleshooting page for similar problems
Version(s)
3.0.1
Kotlin Target(s) and their respective versions
JVM 17
What happened? (include your code)
message=Auth API error: flow_state_not_found, cause=io.github.jan.supabase.auth.exception.AuthRestException: invalid flow state, no valid flow state found
Google Oauth is failing for some users, this is not reproducible at my end.
I am deeplinking the user back to the app and then import session from that.
I use
- PKCE Flow
- SelfHosted Instance
The same exact flow is working for most of my users.
Code Snippet:
override suspend fun importSessionFromCode(code: String): Either<AuthError, UserSession> {
return catchAllOnIO {
auth.exchangeCodeForSession(code)
auth.currentSessionOrNull() ?: throw Exception("No session available.")
}
}
Retaled maybe ?
supabase/auth#1341
Steps To Reproduce (optional)
No response
Relevant log output (optional)
No response