-
Notifications
You must be signed in to change notification settings - Fork 9
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
Registration #3
Comments
You can achieve that from an Ember route/template by sending a POST request to the route provided by Devise A feature like this is out of scope for this project. The objective here is to get you started with the authentication process only. |
I am having issues with the CSRF token authenticity.
|
Check that rails-csrf is installed and working properly. |
After reinstalling & updating to rails-csrf 0.0.4 it is working. But after restarting both the rails and ember servers it now fails again... Now after reverting back to 0.0.3 it works fine. But the user is not added to the rails backend, and after registration any login succeeds... I attempted to add it to a fork of this repo here: https://github.com/bahudso/ember-cli-simple-auth-devise |
If any input logins successfully its because the server is sending session cookies, disable them. There is a note about that in the README. I'll probably need this too, not sure how soon, but I'll update this thread when its done. |
For future reference: mainmatter/ember-simple-auth#73 |
Just adding a => Sign in up from an ajax request then using ember-simple-auth's authenticate method needs two server requests when it is not really needed: we can send the credentials straight from the signup request |
An enhancement would be to have registration rather than simply login.
The text was updated successfully, but these errors were encountered: