dfinity avatar

Internet Identity

This is your reference for adding Internet Identity authentication to ICP apps. It covers passkey and OpenID sign-in flows, delegation handling, and principal-per-app isolation. The bulk of the value is in the "Mistakes That Break Your Build" section, which walks through the twelve ways developers typically break II integration: wrong URLs, missing /authorize paths, bad nonce handling, and skipping signer verification when reading attributes. The local dev setup is straightforward since icp-cli 0.2.4, mainnet II just works against your local replica without extra config. If you're adding login to a frontend or need to understand how attribute bundles work on the backend, this covers it.

skills.sh installs
343
GitHub stars
39
last updated
Aug 21, 2026

Install

$ npx -y skills add dfinity/icskills --skill internet-identity --agent claude-code

Installs into .claude/skills of the current project.

Files

This is your reference for adding Internet Identity authentication to ICP apps. It covers passkey and OpenID sign-in flows, delegation handling, and principal-per-app isolation. The bulk of the value is in the "Mistakes That Break Your Build" section, which walks through the twelve ways developers typically break II integration: wrong URLs, missing /authorize paths, bad nonce handling, and skipping signer verification when reading attributes. The local dev setup is straightforward since icp-cli 0.2.4, mainnet II just works against your local replica without extra config. If you're adding login to a frontend or need to understand how attribute bundles work on the backend, this covers it.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/dfinity/icskills
Categories
Frontend Development, Backend & APIs, Security, Web3 & Blockchain
First seen
Jun 3, 2026

More from dfinity/icskills

All 16
1steipete avatarmarkdown-convertersteipete/agent-scriptsMarkdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.343skills.sh installs
2krutikjain avatarandroid-compose-foundationskrutikjain/android-agent-skillsBuild Android UI with Jetpack Compose foundations, layouts, modifiers, theming, and stable component structure.340skills.sh installs
3dhruvanbhalara avatarflutter-debuggingdhruvanbhalara/skillsDebug and profile Flutter applications using DevTools, structured logging, and memory analysis. Use when diagnosing layout issues, tracking performance bottlene338skills.sh installs
4jezweb avatarvercel-blobjezweb/claude-skillsIntegrate Vercel Blob for file uploads and CDN-delivered assets in Next.js. Supports client-side uploads with presigned URLs and multipart transfers for large f333skills.sh installs
5bobmatnyc avatarvalidated-handlerbobmatnyc/claude-mpm-skillsType-safe API route handler with automatic Zod validation for Next.js App Router...332skills.sh installs
6tech-leads-club avatarperf-lighthousetech-leads-club/agent-skillsRun Lighthouse audits locally via CLI or Node API, parse and interpret reports, and set performance budgets. Use when measuring site performance, understanding 332skills.sh installs