Running Moodle Mobile for Android and iOS and getting a "disallowed_useragent" error when the Moodle site authenticates with OAuth2 and Google. Example of the error message contained below with website URL redacted.
BTW: Build is Moodle 3.4.1+ (Build: 20180308) - also, tried a different site with OAuth2 and was able to log in. This may be related to the way the authentication was configured, but still needs research.
403. That’s an error.
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.
scope=openid profile email
That’s all we know.