Display the browser's native credential manager

A browser's native credential manager stores a user's password credentials. To enable the browser's native credential manager, set the data-native_login_uri attribute.

The One Tap prompt and the native credential manager dialog aren't displayed together on the same page. The native dialog is only displayed when the One Tap prompt isn't displayed. See the following code example:

<div id="g_id_onload"
 data-client_id="YOUR_GOOGLE_CLIENT_ID"
 data-login_uri="https://your.domain/your_login_endpoint"
 data-native_login_uri="https://your.domain/your_password_login_endpoint">
</div>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年05月19日 UTC.