This is the 13th edition of our DecEmber series-“New Year’s Countdown: 31 Days Ember Plugin”. We plan to highlight a new plug-in every day before the new year, and we hope you can join us!
Let’s take a look today ember-simple-auth!
What can it do
ember-simple-auth addon is a lightweight library that helps you implement authentication and authorization in Ember applications. It is responsible for maintaining the client session and synchronizing it across tabs and windows, so you don’t have to worry about your users logging out in one tab and staying logged in in other tabs.
It comes with a set of authentication providers (OAuth, Device, Torri), if you need to support different authentication mechanisms, you can customize it. It also provides a session service and a series of mixins, which will help you add authorization information to your request, define which routes should only be accessed by logged in users, and control user sessions.
Why i like it
Adding authentication and authorization to Ember applications is one of the things that most developers sometimes have to go through. Having a consistent approach, we don’t have to implement the basics every time, which is one of the advantages of having a plugin ecosystem.
ember-simple-auth It is a cool library that covers the most common authentication needs and can be customized for specific situations. It is well maintained and has a good documentation to guide you through the integration with your application.
Have you used it already
ember-simple-auth? Or are there any other plugins you like? let us know!