Now in Origin Trial!
This feature is now available for testing in a Chrome Origin Trial. Learn more and register your origin .
chrome://flags/#web-authentication-immediate-get
mediation: 'immediate'
You can control some behaviors by adding parameters to this page's URL:
uv=[value]
: Sets User Verification requirement.
required
, preferred
(default), discouraged
.
index.html?uv=required
immediate_onload=true
: Attempts a sign-in with mediation: 'immediate'
automatically when the page loads.
index.html?immediate_onload=true
fallback=pw
: If a sign-in attempt on this page results in a NotAllowedError
(e.g., user cancellation, or immediate mediation fails), you will be redirected to the sign-in page with the password flow pre-selected (signin.html?type=pw
).
index.html?fallback=pw
autoselect
: If this parameter is present (value doesn't matter), the timeout
for the navigator.credentials.get()
call will be set to 300042
(otherwise it's 300000
).
index.html?autoselect
Parameters can be combined, e.g., index.html?uv=required&immediate_onload=true
.