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

Invalid CSRF token #201

Closed
juggernaut451 opened this issue Dec 22, 2022 · 8 comments
Closed

Invalid CSRF token #201

juggernaut451 opened this issue Dec 22, 2022 · 8 comments
Labels

Comments

@juggernaut451
Copy link

The project was working fine.. but suddently today it's showing
bad request: 403 Forbidden: Invalid CSRF token

Below is the response form cloudfront
{Status:"403 Forbidden", StatusCode:403, Proto:"HTTP/2.0", ProtoMajor:2, ProtoMinor:0, Header:http.Header{"Cache-Control":[]string{"no-cache"}, "Content-Length":[]string{"207"}, "Content-Type":[]string{"application/json"}, "Date":[]string{"Thu, 22 Dec 2022 18:56:04 GMT"}, "Referrer-Policy":[]string{"strict-origin-when-cross-origin"}, "Retry-After":[]string{"5"}, "Strict-Transport-Security":[]string{"max-age=31536000; includeSubDomains; preload"}, "Vary":[]string{"Accept-Encoding"}, "Via":[]string{"1.1 c6618f5186a4af698c105b9026bd0d68.cloudfront.net (CloudFront)"}, "X-Amz-Cf-Id":[]string{"QoQLbbLUOqYwxgdMYzkFs7TO2HmOSepZgaPbQqbjSwr7jaWwz8k3hA=="}, "X-Amz-Cf-Pop":[]string{"DEL54-P1"}, "X-Cache":[]string{"Error from cloudfront"}}

@anastasiuspernat
Copy link

Same here! Just Error: bad request: 403 Forbidden starting this morning.

@mordax7
Copy link
Contributor

mordax7 commented Dec 23, 2022

Same.

@0xwal
Copy link

0xwal commented Dec 23, 2022

Same

1 similar comment
@ymzkryo
Copy link

ymzkryo commented Dec 26, 2022

Same

@dvragulin
Copy link

same :(

@anastasiuspernat
Copy link

This is what happened: https://groups.google.com/a/doist.com/g/todoist-api/c/sqrGTtCr-4A

The API must pass token in Headers instead of a parameter.

@sachaos
Copy link
Owner

sachaos commented Dec 30, 2022

@anastasiuspernat Thank you for the investigation.
I'll fix soon.

@sachaos
Copy link
Owner

sachaos commented Dec 30, 2022

I've fixed this issue in v0.18.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants