iOS 설정
연관된 도메인 및 apple-app-site-association.
이 플러그인을 설치하는 단계와 전체 마크다운 가이드를 포함한 설치 지시문을 복사합니다.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-passkey`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/passkey/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
AI-Assisted Setup을 사용하여 플러그인을 설치할 수 있습니다. AI 도구에 Capgo 스킬을 추가하려면 다음 명령어를 사용하세요:
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins그런 다음 다음 명령어를 사용하세요:
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-passkey` plugin in my project.만약 Manual Setup을 선호한다면, 다음 명령어를 실행하고 아래의 플랫폼별 지침을 따르세요:
패키지 설치
bun add @capgo/capacitor-passkey원시 프로젝트 동기화
bunx cap sync플러그인 설정 추가
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = { appId: 'app.capgo.passkey.example', appName: 'My App', webDir: 'dist', plugins: { CapacitorPasskey: { origin: 'https://signin.example.com', autoShim: true, domains: ['signin.example.com'], }, },};
export default config;설치하는 shim
import { CapacitorPasskey } from '@capgo/capacitor-passkey';
await CapacitorPasskey.autoShimWebAuthn();정상적인 WebAuthn 흐름을 유지하세요
const registration = await navigator.credentials.create({ publicKey: registrationOptions,});
const authentication = await navigator.credentials.get({ publicKey: requestOptions,});설정은 shim에서 읽어오고 plugins.CapacitorPasskey in capacitor.config.*.
origin: primary HTTPS relying-party origin used by the shim and direct APIdomains: 플러그인 설정에서 native config에 추가하는 추가 의존성 호스트 이름autoShim: 기본값이 true 으로 설정되어 있으며 native config를 제어합니다 cap sync 자동 구성 Hook당신이 실행할 때 bunx cap sync, 플러그인이 생성된 네이티브 호스트 프로젝트를 업데이트합니다:
asset_statements 메타데이터와 생성된 리소스 사용하는 매니페스트Hook은 당신의 웹사이트 신뢰 파일을 공개하지 않습니다. 당신은 여전히 호스팅해야 합니다:
https://your-domain/.well-known/apple-app-site-associationhttps://your-domain/.well-known/assetlinks.jsoniOS 설정
연관된 도메인 및 apple-app-site-association.
안드로이드 설정
디지털 자산 링크 및 assetlinks.json.
백엔드 참고 사항
원본 유효성 검사 및 안드로이드 주의 사항.
Capgo를 사용하여 인증 및 계정 흐름을 계획하고 Capgo를 사용하여 Capgo를 사용하여 @capgo/capacitor-passkey Capgo를 사용하여 @capgo/capacitor-passkey @capgo/capacitor-social-login Capgo에서 @capgo/capacitor-social-login의 구현 세부 사항 @capgo/capacitor-passkey Capgo에서 @capgo/capacitor-passkey의 구현 세부 사항 @capgo/capacitor-native-biometric Capgo에서 @capgo/capacitor-native-biometric의 구현 세부 사항, 그리고 두 단계 인증 Capgo에서 두 단계 인증의 구현 세부 사항.