-
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
Forcing SSL for DeviseTokenAuth causes error 'new' could not be found #141
Comments
This gem doesn't use the It looks like |
@lynndylanhurley why does |
@milesmatthias - removing the |
@lynndylanhurley I will try and get back to this this week to answer your question. As a workaround I simply used ssl for all routes. |
@lynndylanhurley that's cool, but instead of raising an exception when you get /auth/sign_in, shouldn't you return a message saying something like "Use post /auth/sign_in to sign in." Having it raise an exception just makes the gem seem unfinished and doesn't guide the developer to what they should be doing with the unhelpful exception that gets raised. I'll open a separate issue and send you a PR since this is slightly different than what this ticket talks about. |
Hi there @sburke56 and @milesmatthias , 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. |
I am trying to enable ssl for authentication and registration. I add the following to the production.rb environment to force ssl for the DeviseTokenAuth classes but get this error. The full call stack is at the bottom. I'm guessing this is an error with my setup versus devise_token_auth but any help would be appreciated.
AbstractController::ActionNotFound (The action 'new' could not be found for DeviseTokenAuth::SessionsController):
environments/production.rb
production.log
The text was updated successfully, but these errors were encountered: