Error connecting Alexa account with Google OAuth

When using Google OAuth for my Alexa account, it worked fine on Android and some iOS devices, but the user reported the following:

Error 403: disallowed_useragent
"This user agent does not allow OAuth authorization requests from Google, because it is classified as a built-in user agent (also known as a web view). In accordance with our policy, only browsers allow authorization requests to Google ..."

enter image description here

+5
source share
1 answer

Google has updated its security restrictions for the OAuth2 stream. They no longer allow native web views to trigger OAuth streams, but want developers to use OS browsers. It looks like your iOS application is still trying to use web browsing for authentication. You need to fix this so that it opens in the OS browser.

Background Information:

This is just my opinion, but there are many applications that began to force their users to use these built-in browsers (Facebook for one). One may wonder how safe they are and what is the best use of a real installed browser. I suspect that is why google has included this for starters.

More information is available on the Google Blog.

+2
source

Source: https://habr.com/ru/post/1262538/


All Articles