2017-03-19 40 views
4

我試圖執行登錄谷歌Facebook。我已經成功實施的Facebook登錄與Xamarin.Auth但在谷歌登錄我收到錯誤disallowed_useragent,我知道,谷歌已經改變了策略,並使用WebView將不允許登錄,但有沒有其他辦法要實施Login with GoogleXamarin.Forms (Portable)Xamarin.Auth獲取disallowed_useragent錯誤[Xamarin.Forms]

enter image description here

謝謝。

+1

我有同樣的問題。任何人都可以幫助我們。 – Eagle

回答

1

這是一個新的Google限制,他們不允許在嵌入式網頁瀏覽中使用他們的登錄界面。因此,您可以在「本機視圖」 - 外部瀏覽器(Chrome標籤頁,Safari瀏覽器等)中爲您的應用程序實施授權。他們會將結果返回給您的應用程序。

爲谷歌工作的例子是在這裏: Authenticating Users with an Identity Provider