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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work with Devise? #28

Open
plcosta opened this issue Aug 2, 2018 · 5 comments
Open

Work with Devise? #28

plcosta opened this issue Aug 2, 2018 · 5 comments

Comments

@plcosta
Copy link

plcosta commented Aug 2, 2018

Amazing work @tuwukee!

Is possible to use jwt_session with devise for authentication? If not, do you think about create some modules like devise?

Thanks for all your hard work! 馃挭

@tuwukee
Copy link
Owner

tuwukee commented Aug 2, 2018

Hey @plcosta, thank you!

The gem doesn't have integration with devise, still those 2 gems can be used together by which I mean devise can be used f.e. for rails server-rendered pages and jwt_sessions can be used for API in the same time.

I'll think about creation of a devise extension, but can't guarantee.

@plcosta
Copy link
Author

plcosta commented Aug 6, 2018

Thanks @tuwukee.

Maybe I can contribute on your project soon as possible.

@tuwukee
Copy link
Owner

tuwukee commented Aug 6, 2018

@plcosta sure, PRs are always welcome!

@palkan
Copy link
Contributor

palkan commented Oct 5, 2018

Hey @plcosta!

I've extracted an example integration of jwt_sessions + devise: https://gist.github.com/palkan/e00b12651444cf616b31310a211d2cc3

Hope that helps)

@plcosta
Copy link
Author

plcosta commented Dec 13, 2018

Thanks a lot, @palkan! Sorry about delay.

I decided to give up using Devise. Instead currently it's all under control with jwt_sessions.

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