Hi all,
I am trying to integrate this library, but I cannot get it to work as expected.
"cordova-plugin-msal": "^2.5.0",
"ionic-msal-native": "^0.1.0",
My current setting:
I have a problem to setup up the scope.
This scope will return the following error no matter what I change it to. The error is:
OpenId Provider Configuration metadata failed to load with status: 404 Android
Hi all, I am trying to integrate this library, but I cannot get it to work as expected. "cordova-plugin-msal": "^2.5.0", "ionic-msal-native": "^0.1.0", My current setting:
options: any = { client_id: "[client_id]", authorizationUserAgent : "DEFAULT", redirect_uri: "msauth://[appid]/6FYh01XNTEyXhtp64rz5FV5gIpA%3D", authorities: [ { type: 'B2C', audience: 'AzureADMyOrg', authorityUrl: "https://[appnam].b2clogin.com/tfp/[appname].onmicrosoft.com/B2C_1_Login/", default: true } ], scopes: ['openid','offline_access'] }
I have a problem to setup up the scope. This scope will return the following error no matter what I change it to. The error is:
OpenId Provider Configuration metadata failed to load with status: 404 Android
If I change it to ''https://[appname].onmicrosoft.com/[client_id]/user.read', error still occurs. But it returns access_token. I dont receive the result as a example has shown below:
{ token: 'eyJ0eXAiOiJKV1QiLCJub...', account: { id: 'abc-someguid-123', username: 'wrobins@myemailaddr.com', claims: [ {key: "name", value: "Robins, Walter"}, {key: "ver", value: "2.0"}, { ... } ] } }
How do I set up this library or my Azure B2C to get the profile return on login? Thanks