Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Sign-in is broken: 403 error disallowed user agent #175

Open
bvirlet opened this issue Jun 15, 2020 · 4 comments
Open

Google Sign-in is broken: 403 error disallowed user agent #175

bvirlet opened this issue Jun 15, 2020 · 4 comments

Comments

@bvirlet
Copy link

bvirlet commented Jun 15, 2020

Repro steps

  • Try to login with Evernote (ENSession.shared.authenticate(with:preferRegistration:completion:))
  • A login view controller is presented by the Evernote SDK
  • Tap on Continue with Google
  • Observe error: "403 disallowed_useragent" Google can’t sign you in safely inside this app. You can use Google sign-in by visiting this app’s website in a browser like Safari or Chrome.

This issue is affecting our app Genius Scan and I could also reproduce it with @agiletortoise Drafts App.

Solution

The problem is likely that the login must happen in a safari controller and not in a webview.

@umekun123
Copy link

Same issue here, how could you fix the issue, or there is no way at the moment?

Add to that, now I cannot input the password when I try to log in on the same presented view by the Evernote SDK. It shows the white screen instead of showing the password form after you input the email address.

@zonabi
Copy link

zonabi commented Jun 24, 2020

Hello, engineer at Evernote here. It is a known limitation that our iOS SDK does not support Google sign-in. We currently don't have plans to prioritize this issue. PRs are welcomed.

The separate issue of seeing a blank screen on regular login, has been raised internally and we have someone looking into the problem.

@bvirlet
Copy link
Author

bvirlet commented Jun 25, 2020

Hello, engineer at Evernote here. It is a known limitation that our iOS SDK does not support Google sign-in. We currently don't have plans to prioritize this issue. PRs are welcomed.

The separate issue of seeing a blank screen on regular login, has been raised internally and we have someone looking into the problem.

Can you then hide the Google Sign In button to avoid the confusing error screen?

@ivanpnn
Copy link

ivanpnn commented Mar 24, 2022

Is there any progress in this issue?
I had the same issue since long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants