AWS Cognito
__CAPGO_KEEP_1__
__CAPGO_KEEP_8__
__CAPGO_KEEP_9____CAPGO_KEEP_10__ cognito __CAPGO_KEEP_11__
인증 연결 프리셋 예시
인증 연결 프리셋 예시 섹션import { SocialLoginAuthConnect } from '@capgo/capacitor-social-login';
await SocialLoginAuthConnect.initialize({ authConnect: { cognito: { domain: 'https://your-domain.auth.region.amazoncognito.com', clientId: 'your-cognito-client-id', redirectUrl: 'myapp://oauth/cognito', }, },});
const result = await SocialLoginAuthConnect.login({ provider: 'cognito',});직접 OAuth2 예시
직접 OAuth2 예시 섹션import { SocialLogin } from '@capgo/capacitor-social-login';
await SocialLogin.initialize({ oauth2: { cognito: { appId: 'your-cognito-client-id', authorizationBaseUrl: 'https://your-domain.auth.region.amazoncognito.com/oauth2/authorize', accessTokenEndpoint: 'https://your-domain.auth.region.amazoncognito.com/oauth2/token', redirectUrl: 'myapp://oauth/cognito', scope: 'openid profile email', pkceEnabled: true, resourceUrl: 'https://your-domain.auth.region.amazoncognito.com/oauth2/userInfo', logoutUrl: 'https://your-domain.auth.region.amazoncognito.com/logout', }, },});
const result = await SocialLogin.login({ provider: 'oauth2', options: { providerId: 'cognito', },});관련 문서
관련 문서 섹션AWS Cognito에서 계속하기
AWS Cognito에서 계속하기 섹션If you are using AWS Cognito를 사용하여 를 연결하세요. Using @capgo/capacitor-social-login for the native capability in Using @capgo/capacitor-social-login, Using @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-social-login @capgo/capacitor-passkey @capgo/capacitor-native-biometric @capgo/capacitor-passkey @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-native-biometric __CAPGO_KEEP_0__