Aureliauth, a token based authentication plugin for Aurelia

What is Aureliauth

Aureliauth is a token-based authentication plugin for Aurelia with support for popular social authentication providers (Google, Twitter, Facebook, LinkedIn, Windows Live, FourSquare, Yahoo, Github ) and a local stragegy, i.e. simple username (email) and password.

Aureliauth is a port of the great Sattelizer library to ES6 and packaged as an Aurelia plugin.

Other OAuth1 and Oauth2 than the above mentioned providers can be simply added by editing the extensible configuration file.

Basically, Aureliauth does not use any cookies but relies on a JWT (Json web token) stored in the local storage of the browser: JWT in local storage

Both local storage as well as session storage can be used (via the Aureliauth security configuration file).

The aurelia token will be sent automatically to your API when the user is authenticated.

Where can I find more details and a sample app?

The sources are on my github space.

There is also a sample app:

The sources of the sample app are also available on github

The README contains a lot more information. Enjoy !

comments powered by Disqus