Keycloak
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
provider with OIDC discovery viaを使用した組み込みのプロバイダーで、Keycloakが最も適切に機能するのは、組み込みのプロバイダーで、KeycloakのOIDC discovery機能を使用します。 oauth2 KeycloakのOIDC discovery機能を使用した組み込みのプロバイダーで、Keycloakが最も適切に機能するのは、KeycloakのOIDC discovery機能を使用した組み込みのプロバイダーで、Keycloakが最も適切に機能するのは、KeycloakのOIDC discovery機能を使用した組み込みのプロバイダーで、KeycloakのOIDC discovery機能を使用します。 issuerUrl.
OIDC discovery example
OIDC discovery exampleのセクションimport { SocialLogin } from '@capgo/capacitor-social-login';
await SocialLogin.initialize({ oauth2: { keycloak: { issuerUrl: 'https://sso.example.com/realms/mobile', clientId: 'mobile-app', redirectUrl: 'myapp://oauth/keycloak', scope: 'openid profile email offline_access', pkceEnabled: true, }, },});
const result = await SocialLogin.login({ provider: 'oauth2', options: { providerId: 'keycloak', },});Direct endpoint example
Direct endpoint exampleのセクションawait SocialLogin.initialize({ oauth2: { keycloak: { appId: 'mobile-app', authorizationBaseUrl: 'https://sso.example.com/realms/mobile/protocol/openid-connect/auth', accessTokenEndpoint: 'https://sso.example.com/realms/mobile/protocol/openid-connect/token', redirectUrl: 'myapp://oauth/keycloak', scope: 'openid profile email offline_access', pkceEnabled: true, resourceUrl: 'https://sso.example.com/realms/mobile/protocol/openid-connect/userinfo', logoutUrl: 'https://sso.example.com/realms/mobile/protocol/openid-connect/logout', }, },});関連ドキュメント
関連ドキュメントのセクションKeycloakから続けて
Keycloakから続けてのセクションIf you are using Keycloak を使用して 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-passkey 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__-native-biometric、 2要素認証の実装詳細について。