Web APIs

Credential Management

Checking compatibility...

Enables websites to interact with user credentials for authentication, supporting password, federated identity, one-time passwords (OTP), and Web Authentication methods.

Create New Credential

This example shows how to save a username and password to the browser's password manager, so users won't need to type them again next time they visit your site.

=
=
=
=
=
=

Output

Click Run to see output...

Get Stored Credentials

This example demonstrates how to retrieve saved login information from the browser, letting users sign in with a single click instead of typing their credentials again.

=
=
=
=
=
=

Output

Click Run to see output...