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

Sign_in / Sign_up via token_auth and via session #168

Closed
patricks opened this issue Mar 3, 2015 · 3 comments
Closed

Sign_in / Sign_up via token_auth and via session #168

patricks opened this issue Mar 3, 2015 · 3 comments

Comments

@patricks
Copy link

patricks commented Mar 3, 2015

Hello,
I have setup devise_token_auth for api / json communication and everything works nicely. I can sign_up / sign_in ... and get json responses.
Now I want some features to accessible via a web interface. How do I setup a sign_up / sign_in via this gem? Or is this possbile?
I tried to generate devise views (like it did on other projects, where i only use devise) via rails generate devise:views. Put this doesn't work. Is this even possible with this gem? Or maybe there is an alternative gem?

@nicolas-besnard
Copy link
Contributor

You can use this library for AngularJS which was created by the creator of this gem. I think you can't use "normal" Devise views, because you DON'T use session to communicate with this gem.

@nickL
Copy link
Contributor

nickL commented Mar 25, 2015

I think you would need to use normal Devise for your web routes and DeviseTokenAth for your api/json communication. See #120, i believe there's a similar need there?

@zachfeldman
Copy link
Contributor

Hi there @patricks ,

In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!

If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.

Hope all is well.

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

No branches or pull requests

4 participants