Hello KMM family, is there any lib for google and facebook login in KMM or is it necessary to take t...
f
Hello KMM family, is there any lib for google and facebook login in KMM or is it necessary to take the actual expect approach? For the backend there is Ktor.io OAuth but for the client-side???
a
Might want to check out https://firebaseopensource.com/projects/gitliveapp/firebase-kotlin-sdk/ You can then use the JWT from an authenticated user in that auth sdk to then send in a request to your ktor server. You would also need to configure firebase on your server similar to this article. https://plusmobileapps.com/2022/08/02/ktor-firebase-auth.html
Only thing to call out with that kmp firebase sdk is that I believe it requires you to use the cocoapods plugin with your project that isn't explicitly called out in the readme
f
Thanx i have selected Regular framework for the setup. But I will definitely look into it.
326 Views