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

ajax login #844

Open
rrd108 opened this issue Nov 30, 2019 · 2 comments
Open

ajax login #844

rrd108 opened this issue Nov 30, 2019 · 2 comments

Comments

@rrd108
Copy link
Contributor

rrd108 commented Nov 30, 2019

I want to login form a vuejs frontend. For that I would need to get the csfr token first and than send it to the login action, or disable csrf for login.
Is there any way to do it?

@rrd108
Copy link
Contributor Author

rrd108 commented Jan 1, 2020

I have solved it by creating a get-token method in my own UsersController

@rrd108 rrd108 closed this as completed Jan 1, 2020
@rrd108
Copy link
Contributor Author

rrd108 commented Jul 25, 2020

It seems that in the last version my earlier solution does not work for ajax login. Any idea how to do that? I would like to send the username and the password via ajax to the login url.

@rrd108 rrd108 reopened this Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant