-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Log my user via token and session to share login over 2 app #1062
Comments
Can you explain further by giving us an example, including what kind of device and screen resolution you'd be doing this with? |
My target is at the end of the day be able to develop for web and app seamlessly. To do so, my plan is to have a main website with let's say a marketing front and an API. This main website would be host on mysite.com. When user registered and paid, they will acces to the app which could be an android app, an ios app or a website hosted on app.mysite.com. (the login here use devise_token on mysite.com) |
Hey @kgeoir , no I don't think devise_token_auth provides this functionality out of the box. You'd have to implement something yourself. |
Yep, it is not realy something that this gem should provide. Do you have any hint, I am not keen to share auth token in a cookie or as argument in urls. |
@kgeoir ok, this isn't really a forum for general questions, it's an issue tracker for problems with this gem. Please try stack overflow, closing this as off-topic. Good luck |
Hello,
My post is not about a bug but more an architecture question:
I am having a rails app with this gem (version: 0.1.42) and an other app in ionic using angular2-token (version: 0.2.0-beta.14). I am planing to put my ionic app accessible via web-browser and I'd like to know how can avoid my user to log twice (once in my rails app via devise session, then on the app using devise token)
I had some though like sharing a cookie, passing args in url but nothing seems very secure. Do you any advise?
The text was updated successfully, but these errors were encountered: