internet-identity
Installation
SKILL.md
Internet Identity Authentication
What This Is
Internet Identity (II) is the Internet Computer's native authentication system. Users authenticate into II-powered apps either with passkeys stored in their devices or through OpenID accounts (e.g., Google, Apple, Microsoft) -- no usernames or passwords required. Each user gets a unique principal per app, preventing cross-app tracking.
Prerequisites
@icp-sdk/auth(>= 7.0.0),@icp-sdk/core(>= 5.3.0) (AttributesIdentitywas added in core v5.3.0)- For the Motoko backend example:
mo:identity-attributes>= 0.4.0 (mops) — the mixin that injects the two sign-in methods and verifies the bundle for you. It pulls inmo:core>= 2.5.0 and requiresmoc>= 1.6.0 for theincludemixin.
Canister IDs
| Canister | ID | URL | Purpose |
|---|---|---|---|
| Internet Identity (backend) | rdmx6-jaaaa-aaaaa-aaadq-cai |
Manages user keys and authentication logic | |
| Internet Identity (frontend) | uqzsh-gqaaa-aaaaq-qaada-cai |
https://id.ai |
Serves the II web app; identity provider URL points here |