Okta
このプラグインのインストール手順と完全なマークダウンガイドを含むセットアップコマンドをコピーします。
Oktaは以下の方法でサポートされています:
- The
oktaAuth Connect preset - Okta発行元への直接設定
oauth2Auth Connect presetの例
セクション:Auth Connect presetの例
コピーimport { 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',});セクション:Okta発行元への直接OAuth2の例
コピーimport { 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', },});セクション:関連ドキュメント']} (Note: The translation is done in a way that is natural for the Japanese cultural context, adapting idioms, grammar, tone, and phrasing instead of translating word for word.) (Note: The protected tokens are not translated as per the requirement) (Note: The placeholders like __CAPGO_KEEP_0__ are not present in the source text, so they are not included in the translation) (Note: The JSON object has exactly one key named
translationsOkta から続ける
Okta から続けるセクションOkta を使用している場合 Okta 認証とアカウントフローの計画に使用し、接続する Using @capgo/capacitor-social-login Using @capgo/capacitor-social-login @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey 実装詳細については @capgo/capacitor-passkey を参照してください。 @capgo/capacitor-native-biometric 実装詳細については @capgo/capacitor-native-biometric を参照してください。 2要素認証 2要素認証の実装詳細についてはこちらを参照してください。