簡體   English   中英

Xamarin 身份驗證 Facebook 和谷歌與 IdentityModel.OidcClient 不工作

[英]Xamarin Authentifiication Facebook & google with IdentityModel.OidcClient not working

不能在 OidcClient 中使用 Facebook 和 google 身份驗證:

  • Xamarin Forms v 3.4.0.1008975
  • IdentityModel.OidcClient v 3.12

我嘗試將IdentityModel.OidcClient.Samples與 facebook 和 google 一起使用,但並不總是工作 iv 相同的錯誤

System.InvalidOperationException: Error loading discovery document: Error connecting to https://accounts.google.com/o/oauth2/v2/auth?/.well-known/openid-configuration: Bad Request

那是因為實際的發現文檔 url 是https://accounts.google.com/.well-known/openid-configuration

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM