aurelia-auth
aurelia-auth copied to clipboard
Allow Aurelia-Auth to set the auth token as a cookie
Hi,
I am using Aurelia-auth with SignalR and IdentityServer and am wondering whether when a user is authenticated Aurelia-auth set the token as a cookie as well as using the auth header. If it doesn't could this be added/how can I do this? Any help appreciated. Kind regards Sean.
@paulvanbladel I would be keen to have a go at a PR for this enhancement sometime in the next week, if it's something you're interested in having?
'storage.js' would obviously get a bit more complex due to the lack of a similar storage/cookies API.
This would open up the future possibility of a graceful fallback to cookies, which would address #160.
Hi @chriswait . cool. As long as things stay nicely backward compat. Thanks.