OneLogin
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
Overview
Section titled “Overview”OneLogin is supported through the onelogin Auth Connect preset. You can also configure it manually using direct OAuth2 endpoints.
Auth Connect preset example
Auth Connect preset exampleimport { SocialLoginAuthConnect } from '@capgo/capacitor-social-login';
await SocialLoginAuthConnect.initialize({ authConnect: { onelogin: { issuer: 'https://your-tenant.onelogin.com/oidc/2', clientId: 'your-onelogin-client-id', redirectUrl: 'myapp://oauth/onelogin', }, },});
const result = await SocialLoginAuthConnect.login({ provider: 'onelogin',});Direct OAuth2 example
Direct OAuth2 exampleimport { SocialLogin } from '@capgo/capacitor-social-login';
await SocialLogin.initialize({ oauth2: { onelogin: { appId: 'your-onelogin-client-id', authorizationBaseUrl: 'https://your-tenant.onelogin.com/oidc/2/auth', accessTokenEndpoint: 'https://your-tenant.onelogin.com/oidc/2/token', redirectUrl: 'myapp://oauth/onelogin', scope: 'openid profile email', pkceEnabled: true, resourceUrl: 'https://your-tenant.onelogin.com/oidc/2/me', logoutUrl: 'https://your-tenant.onelogin.com/oidc/2/logout', }, },});
const result = await SocialLogin.login({ provider: 'oauth2', options: { providerId: 'onelogin', },});関連ドキュメント
関連ドキュメントOneLogin から続けて
関連ドキュメントIf you are using OneLogin を使用して Using @capgo/capacitor-social-login for the native capability in Using @capgo/capacitor-social-login, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-native-biometric, and @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-passkey、ネイティブバイオメトリックの実装詳細もあります。と 2要素認証の実装詳細について。