Ember Simple Auth extension that is compatible with token-based authentication like JWT.
@fenichelar championed this major release which was tracked via #226. Thank you!
This includes changes from the following PRs:
It also:
jquery
to ember-fetch
getAuthenticateData
getResponseData
eslint-plugin-ember
JWT
and token
refreshLeeway
is too largeIn addition to closing the above PRs, the following PRs are no longer needed if accepted:
getAuthenticateData
getAuthenticateData
removedember-cli
updatedgetAuthenticateData
removedember-fetch
authorizationPrefix
blank now works as expectedember-simple-auth
updatedrefreshLeeway
is too largeUpgrade ESA + ember-{cli,source} to 2.17 #213 by @dcyriller
Update dummy-app to ember 2.17 #212 by @dcyriller
Update refresh strategy to use a separate refresh token #190 by @evoactivity
Since version 3.0 we are supporting refresh tokens. If your token implementation manages your access token and refresh token separately you can specify the property names under tokenPropertyName
and refreshTokenPropertyName
on your ember-simple-auth-token
JSON. If your token implementation checks the authorization directly against your access token and you need to refresh it you can specify the token name on refreshTokenPropertyName
.
For more information: Refresh tokens what are they and when to use them