mirzemehdi / KMPAuth

Kotlin Multiplatform Authentication Library targetting android and iOS
https://mirzemehdi.com/KMPAuth/
Apache License 2.0
131 stars 9 forks source link

google authentication fails on ios #12

Closed charliepank closed 3 months ago

charliepank commented 3 months ago

Hi, with all the correct info in the plist files, I can push the button to log in using google, it launches safari on accounts.google.com page, and produces an error:

charliepank commented 3 months ago
Screenshot 2024-03-19 at 10 41 52
mirzemehdi commented 3 months ago

Probably, there is an issue with custom url schemes in iOS side. Please make sure you followed all steps in Firebase Google Sign-In for iOS.

https://firebase.google.com/docs/auth/ios/google-signin

mirzemehdi commented 3 months ago

This issue is not related to library itself, so I'll close this.

charliepank commented 2 months ago

Hey, I just came back to say - yes you're absolutely right. It is now working like a charm. I don't even know what was causing the issue, I spent some (a lot) of time rebuilding the iOS project from the ground up, and now it works. Wow iOS devt environment is horrible!