Skip to content Skip to sidebar Skip to footer

Xamarin.auth Getting Disallowed_useragent Error [xamarin.forms]

I was trying to implement login with Google and Facebook. I have successfully implemented Facebook login with Xamarin.Auth but in the Google Login I am getting error disallowed_use

Solution 1:

It's a new Google restriction, they do not allow using their login interface in embedded webviews anymore. Therefore you can implement authorization for your app in "Native Views" - external browsers (chrome tabs, safari etc). They will return result back to your app.

The working example for Google is here: Authenticating Users with an Identity Provider

Post a Comment for "Xamarin.auth Getting Disallowed_useragent Error [xamarin.forms]"