You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2019. It is now read-only.
I propose moving to an event-based API for web sites.
// this event is guaranteed to fire after window.onLoad
// so it's best if this event listener should be registered before window.onLoad
navigator.id.addEventListener('login', function(event) {
// do things with event.assertion
});
navigator.id.get({options});
Advantages:
we do away with allowPersistent and silent, as those become entirely user-controlled now. The only option for that remains for now is requiredEmail.
firing the login event can be done in a number of cases where the reference to the callback has otherwise been lost, e.g. when returning from having verified an email if the RP page was unloaded.
The text was updated successfully, but these errors were encountered:
I propose moving to an event-based API for web sites.
Advantages:
The text was updated successfully, but these errors were encountered: