![](http://web.dev/static/identity/image/hero-identity.png)

### Identity

Explore identity on the web and dive deep into advanced authentication systems! Here you'll find resources on how to build robust systems with modern APIs and create user-friendly experiences for signing in, signing up, and signing out. Explore articles, courses, and real-world success stories.

## Authentication fundamentals

Learn how to build sign-in and sign-up forms that are secure, accessible and easy to use, with cross-platform browser features like password management and form validation.

### Best practices

-

  #### [Sign-in form best practices](http://web.dev/articles/sign-in-form-best-practices)

-

  #### [Sign-up form best practices](http://web.dev/articles/sign-up-form-best-practices)

-

  #### [What makes for a good sign-out experience?](http://web.dev/articles/sign-out-best-practices)

### Codelabs

-

  #### [Use cross-platform browser features to build a sign-in form](http://web.dev/articles/codelab-sign-in-form-best-practices)

-

  #### [Sign-up form best practices codelab](http://web.dev/articles/codelab-sign-up-form-best-practices)

[![](http://web.dev/static/learn/forms/card.png)](http://web.dev/learn/forms)

### [New to HTML forms?](http://web.dev/learn/forms)

Master HTML forms to help you improve your web developer expertise! Our [Learn Forms](https://web.dev/learn/forms) course breaks down HTML forms into easy to understand pieces and guides you through form elements, styling forms, helping users re-entering data, ensuring the form is accessible and secure, testing your forms, and more.
[Learn Forms!](http://web.dev/learn/forms)

## Passkeys

Passkeys are an easier and more secure replacement for passwords, enabling users to sign in to their account by unlocking their device screen. Learn more about passkeys and how to implement them in your web app.

### Add passkeys to your web app

-

  #### [Passkeys overview](https://developers.google.com/identity/passkeys/)

-

  #### [Passkey registration](http://web.dev/articles/passkey-registration)

-

  #### [Passkey form autofill](http://web.dev/articles/passkey-form-autofill)

-

  #### [Passkey management](http://web.dev/articles/passkey-management)

-

  #### [Passkey deployment checklist](http://web.dev/articles/passkey-checklist)

-

  #### [Passkeys within iframes](http://web.dev/articles/webauthn-within-iframe)

### Codelabs

-

  #### [Implement passkeys with form autofill in a web app](https://developers.google.com/codelabs/passkey-form-autofill/)

-

  #### [Set up a re-authentication functionality with WebAuthn](https://developers.google.com/codelabs/webauthn-reauth/)

### Server-side guides

-

  #### [Introduction](https://developers.google.com/identity/passkeys/developer-guides/server-introduction)

-

  #### [Registration](https://developers.google.com/identity/passkeys/developer-guides/server-registration)

-

  #### [Authentication](https://developers.google.com/identity/passkeys/developer-guides/server-authentication)

### Advanced topics

-

  #### [User verification deep dive](http://web.dev/articles/webauthn-user-verification)

-

  #### [Discoverable credentials deep dive](http://web.dev/articles/webauthn-discoverable-credentials)

-

  #### [Prevent duplicate credentials](http://web.dev/articles/webauthn-exclude-credentials)

-

  #### [Determine the passkey provider](http://web.dev/articles/webauthn-aaguid)

-

  #### [Associate related origins](http://web.dev/articles/webauthn-related-origin-requests)

-

  #### [Keep passkeys consistent with the server](https://developer.chrome.com/docs/identity/webauthn-signal-api)

-

  #### [Detect client capabilities](http://web.dev/articles/webauthn-client-capabilities)

-

  #### [Passkey automatic creation](https://developer.chrome.com/docs/identity/webauthn-conditional-create)

-

  #### [RP ID deep dive](http://web.dev/articles/webauthn-rp-id)

## Password Manager compatible

Help your users stay safe and secure by integrating with password managers for seamless cross-device sign-in across sites and apps along with automated password updates.

### [Autofill](http://web.dev/learn/forms/autofill)

Browsers can help users enter form parameters faster, and avoid re-entering them. This module teaches you how autofill works, and how \`autocomplete\` and other element attributes can ensure that browsers offer appropriate autofill options. [Learn more](http://web.dev/learn/forms/autofill)

### [Change the password easily](http://web.dev/articles/change-password-url)

Set up /.well-known/change-password to redirect to your change password page, so the password manager can bring users straight there. [Learn more](http://web.dev/articles/change-password-url)

### [Link sites and apps for seamless credential sharing](https://developer.chrome.com/docs/identity/seamless-credential-sharing)

For sites (and apps!) that share a single sign-on make use of Digital Asset Links to make sure the password manager knows it's all the same account. [Learn more](https://developer.chrome.com/docs/identity/seamless-credential-sharing)

## Streamline SMS based two-factor authentication user experience

### [SMS OTP form best practices](http://web.dev/sms-otp-form)

Learn how to implement SMS OTP forms for two-factor authentication efficiently. This article provides cross-browser best practices for using the WebOTP API and HTML form elements for a seamless user experience. [Learn more](http://web.dev/sms-otp-form)

### [Verify phone numbers on the web with the WebOTP API](http://web.dev/web-otp)

Learn how to improve the user-experience of phone number verification by programmatically getting an OTP from an SMS message. [Learn more](http://web.dev/web-otp)

### [Verify a phone number on desktop using WebOTP API](https://developer.chrome.com/docs/identity/cross-device-webotp)

WebOTP helps users enter a phone number verification code in one tap on a mobile website. It's available for desktop as well. [Learn more](https://developer.chrome.com/docs/identity/cross-device-webotp)

## Identity federation

Identity federation delegates authentication or authorization of an individual (user or entity) to a trusted external party (an identity provider or IdP).

### Understand federation at Google

-

  #### [Use OAuth 2.0 to access Google APIs](https://developers.google.com/identity/protocols/oauth2)

-

  #### [Set up OpenID Connect compliant OAuth 2.0](https://developers.google.com/identity/protocols/oauth2/openid-connect)

## Case studies

### [Yahoo! JAPAN's password-free authentication reduced inquiries by 25%, sped up sign-in time by 2.6x](http://web.dev/case-studies/yahoo-japan-identity)

Discover how Yahoo! JAPAN moved from password-based to passwordless authentication. [Read case study](http://web.dev/case-studies/yahoo-japan-identity)

### [Goibibo dropped OTP retry on sign-up by 25% with WebOTP](http://web.dev/case-studies/goibibo#web-otp)

As secure authentication is a big challenge in India, Goibibo used the WebOTP API to reduce sign-in friction on their PWA. [Read case study](http://web.dev/case-studies/goibibo#web-otp)