Home of the Mozilla Identity team
After gathering feedback from our users and our User Experience team, we’re excited to announce that we’ve implemented several important new features in Persona. These features include showing your website’s name and logo in the login dialog, a streamlined experience for first-time Persona users, and greater security thanks to global logout from any device.
We’ll be announcing a “Beta” release of Persona before the end of September, at which point the Observer API will become the recommended means of integrating Persona into your website. We do not plan to deprecate the previous API (
navigator.id.get()) at this time. Nevertheless, we’re committed to working with our community to get everyone up and running with—and reaping the benefits of—the Observer API.
The Observer API consists of just three functions: At the time your page loads, you
watch() for login/logout notifications from Persona. Whenever a user clicks the login button on your site, you
request() a verified email from your user, which opens the Persona dialog. Finally, when a user logs out of your site, you tell Persona by calling
This new structure is a great foundation for future refinements and improvements to the Persona experience: we couldn’t have delivered all of the aforementioned features without it! You can find out more by reading our documentation on MDN.
Let us know know what you think by tweeting with the hashtag #mozPersona!