-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
ts:
var config:LoginOptions = {
clientId: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx',
brokerRedirectUriRegistered: true,
keyHash: 'xxxxxxxxxxxxxxxxxxxx',
scopes: ['xxxx'],
domainHint: "xxxx.xx",
tenant: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx',
authorityType: 'AAD'
}
const result = await MsAuthPlugin.login(config);
Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.getcapacitor.capacitor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>msauth.xxx.xxxxx.xxxxx.xxxxx</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>msauthv2</string>
<string>msauthv3</string>
</array>
registered app registry in azure like msauth://xxx.xxxxx.xxxxx.xxxxx/
Expected behavior: wanted to open the MS Authenticator broker popup
Current behaviour: opening browser modal in ios and redirecting to chrome in android.
Q1: Does "@recognizegroup/capacitor-plugin-msauth" support msal broker authentication?
Q2: if yes to Q1, what am i doing / possibly wrong here?
Thanks in advance.
ludufre
Metadata
Metadata
Assignees
Labels
No labels