GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

How can i implement google signIn? #475

Closed alexgallardo11 closed 7 months ago

alexgallardo11 commented 8 months ago

How can I add Google login? Does the access token have to be implemented for each platform independently, or is there a way to do it with this library?

Qw4z1 commented 8 months ago

The platform specific implementations of different providers are not part of Firebase, so I assume it's out of scope for this library.

That said, there are this library that you can use or take inspiration from to get the Credentials you need to pass to Firebase.

nbransby commented 7 months ago

Yes you need to implement that yourself foe each platform via https://github.com/GitLiveApp/firebase-kotlin-sdk?tab=readme-ov-file#accessing-the-underlying-firebase-sdk