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

Problem getting oauth token #7

Open
slashweb opened this issue Dec 27, 2018 · 3 comments
Open

Problem getting oauth token #7

slashweb opened this issue Dec 27, 2018 · 3 comments

Comments

@slashweb
Copy link

When i try to get the token the response comes empty, what can i do, the client_id and secret that i am using are password clients

@reganlawton
Copy link

@slashweb I found that I had this issue because of CSRF middleware on the route.

@swastik009
Copy link

@reganlawton can u please elaborate the issue, because i am having the same problem and i am pretty new to this.

@reganlawton
Copy link

Basic @swastik009 the issue is that you have the CSRF middleware active on that route and a POST request is checking for the CSRF tomen and triggering a failed request.

This was the case for me ofcourse. But I’m on my phone ATM but buzz me back if you need an example of some code to visualise the issue I had.

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

3 participants