I've setup firebase_auth and google_signin about 6 times, but in my latest app I must have forgotten a step.
firebase_auth: ^0.11.1 google_sign_in: ^4.0.1+3
When the Google Login page should appear I instead get a webpage that says 403 Error Restricted Client. Further down it says This app is not yet configured to make OAuth requests.
1) I've update the GoogleService-Info.plist file.
2) I've added the section CFBundleURLTypes section to Info.plist file.
3) I've enabled Google auth in my Firebase project.
What did I forget?
In my case I forgot to set support e-mail address in Google Developers Console > API and service > certificate > OAuth consent screen link and this option also in your Firebase project setting. After set up everything is working.
I set the support e-mail
address and the LOGO
in Google
:
Developers Console > API and service > Credential > Oauth Consent Screen.
After this set up all is working.
To fix a similar issue I had to add the email I am logged in with to google as a test user:
It should work now!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With