ios - Google 400 Error: invalid request Custom scheme URIs are not allowed for 'Web' client type -


when signing gmail in ios app, getting below error (screenshot) , sign-in fields not appear. loading sign-in screen in wkwebview.

  • we using custom uri redirect why google throwing error now. alternatives custom uri?
  • swift 2.3 project
  • using oauthswift v0.6.0 cocoapod
  • this started quite in past week or believe changed google's apis.

i have read google deprecating webviews oauth , block requests on april 20, 2017. seen here in google developers blog: https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html

does mean need use or there viable solution? thought had more time before needing update this.

enter image description here

my guess client registered incorrectly in google cloud console. 'web' client typically server or javascript application. ios app should registered ios client.

https://developers.google.com/identity/protocols/oauth2installedapp#creatingcred


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -