Hello, has anyone tried using `Google Sign In` wit...
# compose-web
o
Hello, has anyone tried using
Google Sign In
with
compose web
? I will appreciate any ideas or suggestions😊 .
r
We are, via Firebase auth / Google Identity Platform. Fundamentally, its no different integrating it with Compose/Web than any other frontend SPA tech... what specifically were you looking for advice on?
o
@rocketraman, thanks for the reply. I was looking for advice on integrating the Google sign-in to compose web. I looked on the Google documents and couldn't find any example of how to do this. My thoughts were that it is not possible as the google sign-in uses JavaScript and compose uses Kotlin. I have zero experience on jetpack compose web. I come from Android World. Now, I know it's possible, I will take a look once more. Thanks 🙏
r
If you are fronting your Google (and email and Apple and etc.) sign-ins with Firebase auth / Google Identity Platform, take a look at https://github.com/GitLiveApp/firebase-kotlin-sdk. It wraps the Firebase JavaScript SDK (and the Android and iOS SDKs too) with a Kotlin API. We've used this on all of Android, iOS, and web.
o
Thanks 🙏
@rocketraman, did you experience this issue with auth dependency https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/296 I'm trying to use the library, but I'm running with this error
r
o
What would be the fix for this? Do I need to downgrade the kotlin version till the fix? Because I can't access FirebaseUser.
o
Thanks for the help; I appreciate🙏 How do I add this patch to my project?
a
@rocketraman can you please add this patch to the latest release of the library to get updated innertech version ?