I want to implement the single sign-on
functionality on IOS
using ADFS
.
I did some R&D and tried the MSAL iOS
library for ADFS
authentication but it's not working for me.
I have added client id, Authority URL for ADFS authentication but it's not working for me. Every time its give me Couldn't acquire token
error.
I have different SSO URL
, so not using Microsoft azure server
.
I have tried to add my credential in following way for MSAL IOS
library
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"
Any Idea?