Microsoft Entra ID
Eine Einrichtungsanweisung mit den Installationsanweisungen und der vollständigen Markdown-Dokumentation für diesen Plugin kopieren.
Installieren, synchronisieren und die Quellendokumentation in Markdown-Format.
ÜbersichtMicrosoft Entra ID wird über: unterstützt
- Die
azureAuth Connect-Voreinstellung - Direkt
oauth2Konfiguration gegen Microsoft-Identitätsendpunkte
Auth Connect-Voreinstellungsbeispiel
Zum Clipboard kopierenimport { SocialLoginAuthConnect } from '@capgo/capacitor-social-login';
await SocialLoginAuthConnect.initialize({ authConnect: { azure: { tenantId: 'common', clientId: 'your-azure-client-id', redirectUrl: 'myapp://oauth/azure', }, },});
const result = await SocialLoginAuthConnect.login({ provider: 'azure',});Zum Clipboard kopieren
Hinweiseimport { SocialLogin } from '@capgo/capacitor-social-login';
await SocialLogin.initialize({ oauth2: { azure: { appId: 'your-azure-client-id', authorizationBaseUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize', accessTokenEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/token', redirectUrl: 'myapp://oauth/azure', scope: 'openid profile email User.Read', pkceEnabled: true, resourceUrl: 'https://graph.microsoft.com/v1.0/me', }, },});
const result = await SocialLogin.login({ provider: 'oauth2', options: { providerId: 'azure', },});__CAPGO_KEEP_0__
Abschnitt mit dem Titel “Hinweise”- Ersetzen
commonmit Ihrer Tenant-ID für Single-Tenant-Anwendungen resourceUrlkann auf Microsoft Graph verweisen, wenn Sie Profildaten sofort nach der Anmeldung benötigen
Verwandte Dokumente
Abschnitt mit dem Titel “Verwandte Dokumente”Weitermachen von Microsoft Entra ID
Abschnitt mit dem Titel “Weitermachen von Microsoft Entra ID”Wenn Sie Ionic Auth Connect verwenden Microsoft Entra ID um die Authentifizierung und die Kontenflüsse zu planen, verbinden Sie es mit Mit @capgo/capacitor-social-login für die native Fähigkeit in Mit @capgo/capacitor-social-login, @capgo/capacitor-social-login für die Implementierungsdetails in @capgo/capacitor-social-login, @capgo/capacitor-passkey für die Implementierungsdetails in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric für die Implementierungsdetails in @capgo/capacitor-native-biometric und Zwei-Faktor-Authentifizierung für die Implementierungsdetails in Zwei-Faktor-Authentifizierung.