【发布时间】:2020-04-28 10:22:58
【问题描述】:
我正在尝试为 Xamarin.Forms POC 项目实施 OAuth 身份验证。在 iOS 项目中,当我按下登录按钮时,应用程序正在重定向到 SSO 页面并正在加载登录页面,但我收到以下警告消息。如下
"scheme = https native UI with http[s] schema!重定向 url 将加载到本地 UI!OAuth 数据解析可能失败!"
这里是网址
clientId: "company ClientID",
clientSecret: "company Secret",
scope: "company profile",
authorizeUrl: new Uri("https://sso.companyname.com/sso/oauth2/authorize"),
redirectUrl: new Uri("dev.company.com"),
accessTokenUrl: new Uri("https://sso.companyname.com/sso/oauth2/access_token"),
我在 info.plist 中添加的 URL Scheme 是“dev.company.com”。
这是什么意思,我该如何解决?
【问题讨论】:
标签: c# authentication xamarin.forms oauth-2.0 xamarin.ios