Chapter 9. Authentication through a third-party system—Mozilla Persona
This chapter covers
- Using third-party authentication platforms for single sign-on (SSO) with Ember.js
- Integrating and authenticating with Mozilla Persona
- Reauthenticating via HTTP cookies
You’re now familiar with the Ember.js architecture, and you know how to use it to structure and build rich web applications. A concept that might not be as clear to you is how to provide a seamless sign-in experience for your application users.
This chapter presents a single sign-on solution by integrating Mozilla Persona. If you haven’t heard about Persona yet, you can think of it as a full-featured authentication system that enables your application to authenticate millions of users via their own personal email accounts.
Even though this chapter uses Persona as an example of a third-party user authentication and authorization platform, the lessons learned throughout this chapter can be easily adapted to other authentication systems. Because Persona is based on JavaScript, integration with Ember.js applications is easy.