【发布时间】:2019-01-01 06:13:10
【问题描述】:
我想使用ADFS 在IOS 上实现single sign-on 功能。
我做了一些研发并尝试了 MSAL iOS 库进行 ADFS 身份验证,但它对我不起作用。
我添加了客户端 ID、ADFS 身份验证的授权 URL,但它不适用于我。每次都给我Couldn't acquire token 错误。
我有不同的SSO URL,所以不要使用Microsoft azure server。
我已尝试通过以下方式为 MSAL IOS 库添加我的凭据
let kClientID = "xxxxxx-8929-4D60-B869-xxxxxxxx"
// These settings you don't need to edit unless you wish to attempt deeper scenarios with the app.
let kGraphURI = "https://graph.microsoft.com/v1.0/me/"
let kScopes: [String] = ["https://graph.microsoft.com/user.read"]
let kAuthority = "https://fs.example.com/adfs/oauth2"
有什么想法吗?
【问题讨论】: