Skip to content

authenticate using MS Authenticator app  #40

@vimalkumar015

Description

@vimalkumar015

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions