{"repo":"fenichelar/ember-simple-auth-token","free":true,"listed":false,"github":"https://github.com/fenichelar/ember-simple-auth-token","clone":"git clone https://github.com/fenichelar/ember-simple-auth-token.git","description":"Ember Simple Auth extension that is compatible with token-based authentication like JWT.","language":"JavaScript","stars":347,"topics":["ember","javascript","jwt","ember-addon"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Ember Simple Auth Token [![github-actions-image]][github-actions] [![ember-observer-image]][ember-observer] [![npm-image]][npm] This Ember addon is an extension of the Ember Simple Auth library which provides a basic token authenticator and a JSON Web Tokens (jwt) token authenticator with automatic refresh capability. You can find more about why JSON Web Tokens are so awesome in this blog and here as well. Because users' credentials and tokens are exchanged between the Ember.js app and the server, you must use HTTPS for this connection! Demo The test-app has an example of implementing jwt with auto-refresh. It can be run by cloning the repo, then: Compatibility Library Compatible Versions - - node v16, v18, v20 ember v4.4, v4.8, v4.12, v5.4, v5.8 ember-simple-auth v6 ember-auto-import v2 webpack v5 Installation Ember Simple Auth Token can be installed with Ember CLI by running: You must manually install a compatible version of ember-simple-auth . Setup Calling session.setup() on ember-simple-auth session service ember-simple-auth no longer uses an initializer to wire up the session service. Your applicaton must implement an application route to call session.setup() on the ember-simple-auth session service: Routing It is recommended by ember-simple-auth to use an authenticated route in your application, placing all secure routes under it, and employing session.requireAuthentication() in beforeModel . Leaving path: '' in your router for the authenticated root will keep all secu","default_branch":null,"files":null,"tree":[],"storefront":"/r/fenichelar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fenichelar/ember-simple-auth-token/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}