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

Sessions and JWTs #770

Open
sirwolfgang opened this issue Apr 22, 2016 · 1 comment
Open

Sessions and JWTs #770

sirwolfgang opened this issue Apr 22, 2016 · 1 comment

Comments

@sirwolfgang
Copy link

I am working on a rails/jwt integration (sirwolfgang/jwt_keeper), which I would like to integrate with sorcery.

One of the key things is that the tokens are not stored in sessions, but are handled by the frontend and stored in local storage. (Depending on how you use them) I bring this up because currently sorcery default auths by the login_from_session then by login_from_other_sources. I think it would be favorable to make this slightly more modular by not having a session based default, but rather have login_from_sessions be one of the (priority loaded) methods. This would allow pretty seamless integration with completely other flows like JWT(which could use a few different approaches as well).

@Ch4s3
Copy link
Contributor

Ch4s3 commented May 24, 2016

@sirwolfgang this is related to #70 and its on the roadmap, please check out the discussion there and weigh in!

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

2 participants