You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have actually raised this as an issue in the Java SDK, as I am using Kobweb with the API running under a JVM, so it actually calls through to the Java SDK.
I am raising this issue for reference to help others who might have the same problem.
Internally in the Java SDK it is doing an enqueueRefreshTokenCall which on success tries to set the user via:
Actually as a quick hack I have taken a local copy of firebase-java-sdk and removed all the Dispatchers.Main in FirebaseAuth.kt and this has got me further.
So it is being caused by the Java SDK using Dispatchers.Main which is not cross platform friendly with limited JVM support.
Well apart from GlobalScope.launch not being a good practice of course ;)
I have actually raised this as an issue in the Java SDK, as I am using Kobweb with the API running under a JVM, so it actually calls through to the Java SDK.
I am raising this issue for reference to help others who might have the same problem.
Internally in the Java SDK it is doing an enqueueRefreshTokenCall which on success tries to set the user via:
However the setting of the FirebaseAuth.user line is just hanging under Kobweb.
The text was updated successfully, but these errors were encountered: