Wyświetl natywnego menedżera danych logowania w przeglądarce
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wbudowany menedżer danych logowania w przeglądarce przechowuje dane logowania do hasła użytkownika. Do
włącz natywny menedżer danych logowania przeglądarki, ustaw data-native_login_uri
.
Prośba o jeden klik i okno domyślnego menedżera danych logowania nie są wyświetlane na tej samej stronie. Okno dialogowe systemu jest wyświetlane tylko wtedy, gdy nie wyświetla się prośba o jeden klik. Zapoznaj się z tym przykładem kodu:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-11-08 UTC."],[[["\u003cp\u003eThe default login flow can be customized to better suit specific needs.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable the browser's native credential manager by setting the \u003ccode\u003edata-native_login_uri\u003c/code\u003e attribute to handle password logins separately.\u003c/p\u003e\n"],["\u003cp\u003eThe native credential manager dialog and the One Tap prompt are mutually exclusive, with the native dialog appearing only when One Tap is not shown.\u003c/p\u003e\n"]]],[],null,["# Display the browser's native credential manager\n\n| **Objective:** If the default login flow doesn't meet your requirements, you can customize it in several ways. Read the following information for available customization options.\n\nA browser's native credential manager stores a user's password credentials. To\nenable the browser's native credential manager, set the `data-native_login_uri`\nattribute.\n\nThe One Tap prompt and the native credential manager dialog aren't displayed\ntogether on the same page. The native dialog is only displayed when the One Tap\nprompt isn't displayed. See the following code example: \n\n \u003cdiv id=\"g_id_onload\"\n data-client_id=\"\u003cvar translate=\"no\"\u003eYOUR_GOOGLE_CLIENT_ID\u003c/var\u003e\"\n data-login_uri=\"\u003cvar translate=\"no\"\u003ehttps://your.domain/your_login_endpoint\u003c/var\u003e\"\n data-native_login_uri=\"\u003cvar translate=\"no\"\u003ehttps://your.domain/your_password_login_endpoint\u003c/var\u003e\"\u003e\n \u003c/div\u003e"]]