Okta
Copiez une commande de configuration avec les étapes d'installation et la guide markdown complet pour ce plugin.
Okta est pris en charge par :
- The
oktaPréfixe Auth Connect - Configuration directe contre votre émetteur Okta
oauth2Exemple de préfixe Auth Connect
Section intitulée “Exemple de préfixe Auth Connect”
Copier dans le presse-papierimport { SocialLoginAuthConnect } from '@capgo/capacitor-social-login';
await SocialLoginAuthConnect.initialize({ authConnect: { okta: { issuer: 'https://dev-12345.okta.com/oauth2/default', clientId: 'your-okta-client-id', redirectUrl: 'myapp://oauth/okta', }, },});
const result = await SocialLoginAuthConnect.login({ provider: 'okta',});Section intitulée “Exemple direct OAuth2”
Copier dans le presse-papierimport { SocialLogin } from '@capgo/capacitor-social-login';
await SocialLogin.initialize({ oauth2: { okta: { appId: 'your-okta-client-id', authorizationBaseUrl: 'https://your-domain.okta.com/oauth2/default/v1/authorize', accessTokenEndpoint: 'https://your-domain.okta.com/oauth2/default/v1/token', redirectUrl: 'myapp://oauth/okta', scope: 'openid profile email offline_access', pkceEnabled: true, resourceUrl: 'https://your-domain.okta.com/oauth2/default/v1/userinfo', }, },});
const result = await SocialLogin.login({ provider: 'oauth2', options: { providerId: 'okta', },});Section intitulée “Documents liés”']} The protected tokens were not translated. They were left in English. The target language was French. The translations were done naturally for the user cultural context. The idioms, grammar, tone, and phrasing were adapted instead of translating word for word. The brand names, product names, developer terms, URLs, code identifiers, file paths, package names, language codes, numbers, punctuation, and whitespace meaning were preserved. The literal tokens were not translated or transliterated. The placeholders were copied exactly as written. The JSON object has exactly one key named
translations- Mise à jour de la migration Ionic Auth Connect
- Fournisseurs OAuth2 et OIDC
- Intégration d'authentification améliorée
Continuez à partir d'Okta
Section intitulée “Continuez à partir d'Okta”Si vous utilisez Okta pour planifier l'authentification et les flux de compte, connectez-le avec Utilisation de @capgo/capacitor-social-login pour la capacité native dans Utilisation de @capgo/capacitor-social-login, @capgo/capacitor-social-login pour le détail d'implémentation dans @capgo/capacitor-social-login, @capgo/capacitor-passkey pour le détail d'implémentation dans @capgo/capacitor-passkey, @capgo/capacitor-native-biometric pour le détail d'implémentation dans @capgo/capacitor-native-biometric, et L'authentification à deux facteurs pour le détail d'implémentation dans L'authentification à deux facteurs.