Skip to content

feat(fxa): Pass WAF bypass token with functional-test auth-client#20108

Merged
nshirley merged 1 commit intomainfrom
feat/functional-test-pass-bypass-token
Feb 26, 2026
Merged

feat(fxa): Pass WAF bypass token with functional-test auth-client#20108
nshirley merged 1 commit intomainfrom
feat/functional-test-pass-bypass-token

Conversation

@nshirley
Copy link
Contributor

@nshirley nshirley commented Feb 26, 2026

Because:

  • Some functional tests make use of the auth-client for direct calls to the auth-server
  • And we want to enable blocking direct requests to the auth-server

This commit:

  • Passes a unique token to the auth-client requests that are blocking to enable bypassing the rule

Closes: FXA-13195

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

I tested this locally by pointing functional tests at stage while the blocking rule was active to ensure we get the 406 response, then with the correct environment variables provided the header is added and the test passes

Because:
 - Some functional tests make use of the auth-client for direct calls to
   the auth-server
 - And we want to enable blocking direct requests to the auth-server

This commit:
 - Passes a unique token to the auth-client requests that are blocking
   to enable bypassing the rule

Closes:
@nshirley nshirley force-pushed the feat/functional-test-pass-bypass-token branch from ba44b08 to 4156eb6 Compare February 26, 2026 15:48
@nshirley nshirley marked this pull request as ready for review February 26, 2026 15:54
@nshirley nshirley requested a review from a team as a code owner February 26, 2026 15:54
@nshirley
Copy link
Contributor Author

Last force push after approval was just to add the header to one other place that I missed.

@nshirley nshirley merged commit 224c983 into main Feb 26, 2026
21 checks passed
@nshirley nshirley deleted the feat/functional-test-pass-bypass-token branch February 26, 2026 17:06
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.

3 participants