Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Aurelia-Auth to set the auth token as a cookie #156

Open
SeanFarrow opened this issue Sep 17, 2016 · 2 comments
Open

Allow Aurelia-Auth to set the auth token as a cookie #156

SeanFarrow opened this issue Sep 17, 2016 · 2 comments

Comments

@SeanFarrow
Copy link

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.

@chriswait
Copy link
Contributor

@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.

@paulvanbladel
Copy link
Owner

Hi @chriswait .
cool. As long as things stay nicely backward compat.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants