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

Skipping verify_authenticity_token in flag_a_representative #15414

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

cosu419
Copy link
Contributor

@cosu419 cosu419 commented Feb 5, 2024

Summary

Submitting a POST request to the flag_a_representative endpoint is returning a "Invalid Authenticity Token" 403 error in staging. Skipping verify_authenticity_token circumvents the issue locally. This change is temporary to confirm the controller is otherwise functional in staging.

  • This work is behind a feature toggle (flipper): YES

To reproduce:

TEAM: Accredited Representative Management

Related issue(s)

Testing done

  • New code is covered by unit tests

What areas of the site does it impact?

Find a Representative staging instance. This app is not live in prod.

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected

…esponse locally - testing temporarily in staging.
@cosu419 cosu419 requested review from a team as code owners February 5, 2024 20:28
Copy link
Contributor

@holdenhinkle holdenhinkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM

@cosu419 cosu419 merged commit 904194e into master Feb 6, 2024
21 checks passed
@cosu419 cosu419 deleted the co-020524-skip-before-action-find-a-rep branch February 6, 2024 17:20
stevenjcumming pushed a commit that referenced this pull request Feb 21, 2024
…esponse locally - testing temporarily in staging. (#15414)
stevenjcumming pushed a commit that referenced this pull request Feb 21, 2024
…esponse locally - testing temporarily in staging. (#15414)
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

Successfully merging this pull request may close these issues.

None yet

3 participants