fabio21 / azure_ad_authentication

login Azure Ad
MIT License
4 stars 17 forks source link

MsalException is thrown for custom policy authorization url in acquireToken #14

Closed mbhusari closed 1 year ago

mbhusari commented 1 year ago

I am trying to integrate a custom profile for iOS by providing a custom profile's authority, redirectUri, and scopes for my B2C application. But getting MsalException in acquireToken call. Followed all other steps mentioned in the plugin integration steps.

static const String _authority = "https://xxxxxx.b2clogin.com///oauth2/v2.0/authorize" static const String _redirectUriIos = "msauth.://auth"; static const List kScopes = [ "https:////Read", "https:////Write", ];

Device: iOS : iOS15.5 Device: iPhone 12 Pro Simulator version: azure_ad_authentication: ^1.0.5

fabio21 commented 1 year ago

use only for macos redirect