-
Notifications
You must be signed in to change notification settings - Fork 240
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
Support for Devise route-aspected authentication? #139
Comments
Hi @ishmael, I'm not familiar with the authenticated route helpers you mentionned, could you please provide me an example or a link where I could see them in action? (An excerpt of your |
Hi, Better yet, let me point you to the devise docs: https://github.com/plataformatec/devise/wiki/How-To:-Define-resource-actions-that-require-authentication-using-routes.rb |
Thanks @ishmael, Of course, which versions of Simple Token Authentication, Devise, and Rails (eventually Rails::API) are you using? |
Hi, I am using devise (3.3.0), rails (4.1.5) and at the moment my fork of your repo with this branch: spike-refactor-concerns-to-devise-strategy I think there lies the solution to this. I am running some tests and hopefully it will work. |
Ok, I've seen your fork. It is very outdated, which may or may not be a problem, you are the judge. Keep me updated with the result of your tests! |
So, working with the strategy it works with the router code too. now, what's the best way to bring this up to speed? |
Let's discuss the Devise strategy implementation in the dedicated issue. (I replied here.) |
@ishmael, since you found how to solve the issue, I'll edit its title to make it easier to find. |
Hi,
I am trying to integrate your gem into my code, but I use the devise authenticated route helpers a lot. If i remove an action from within those blocks it works.
Does simple_token_authentication support the authenticated route helpers?
Thanks
The text was updated successfully, but these errors were encountered: