Disallowed useragent using Google OAuth -- with Captive Portal and OneAll

This is a copy & Paste from the error I am getting on my iOS Captive Portal when trying to authenticate though google/OneAll.

Can you help us correct this??

  1. That’s an error.

Error: disallowed_useragent

This user-agent is not permitted to make an OAuth authorization request to Google as it is classified as an embedded user-agent (also known as a web-view). Per our policy, only browsers are permitted to make authorization requests to Google. We offer several libraries and samples for native apps to perform authorization requests in the browser.

Learn more

Request Details
scope=email https://www.googleapis.com/auth/user.addresses.read https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.profile.emails.read profile
That’s all we know.


  • Hello, I receive the disallowed user agent on an android application, showing the login / website in a webview of the mobile app.

    Is there anything what can be done?

  • DamienDamienMemberAdministratorOneAll Team

    The problem is coming from the fact that Google doesn't accept login way through webviews anymore and ask for dedicated browser. I've seen that people are forcing "fake" user agent to be able to still use webviews.

    Best regards,


Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.