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

Unable to activate education plan due to missing CSRF token #22150

Closed
1 of 3 tasks
brigaccess opened this issue Nov 19, 2020 · 6 comments
Closed
1 of 3 tasks

Unable to activate education plan due to missing CSRF token #22150

brigaccess opened this issue Nov 19, 2020 · 6 comments
Assignees

Comments

@brigaccess
Copy link

Important Details

How are you running Sentry?

  • On-Premise w/ Docker, version x.y.z
  • Saas (sentry.io)
  • Other, version x.y.z, [briefly describe your environment]

Description

When activating education plan with Github student pack, POST request that activates it fails with "CSRF Failed: CSRF token missing or incorrect."

Steps to Reproduce

  1. Open https://sentry.io/for/education/
  2. Go through the activation process to step 3 ("Activate plan" button)
  3. Click the button

What you expected to happen

Academic plan activation.

Possible Solution

Probably send CSRF token in request body?

@BYK
Copy link
Member

BYK commented Nov 19, 2020

@evanpurkhiser could this be related to your recent work on forms?

@w0rng
Copy link

w0rng commented Nov 20, 2020

I have the same problem in Edge and FireFox browsers.

@evanpurkhiser
Copy link
Member

Yes thank you for reporting this. It was difficult to test since I’m no longer a student 🙃

@evanpurkhiser
Copy link
Member

This should be fixed now :)

@w0rng
Copy link

w0rng commented Nov 21, 2020

This should be fixed now :)

Yes, I don't get CSRF errors anymore. I started getting errors with code 400 Bad Request :)

The server sends a response to organization: ["this field is required."]

@zusorio
Copy link

zusorio commented Nov 22, 2020

@evanpurkhiser I still can't activate the pack.
Previously I got the error "Failed to activate education plan. Please try again." and now this happens whenever I try to activate the pack

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

No branches or pull requests

5 participants