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

fix: fetch captcha V3 token after first form input #1693

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

SGrueber
Copy link
Collaborator

@SGrueber SGrueber commented Jul 2, 2024

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

If a form is secured by the captcha V3 component the captcha V3 token is fetched for the 1st time after the form gets valid. If the user sends the form immediately after the form is getting valid the response from the token request is still missing and the form submission ends with a 401 error "Unauthorized (Captcha authentication required)"

Issue Number: Closes #

What Is the New Behavior?

The captcha V3 token is fetched for the 1st time after the user has started to edit the form. The token is supposed to be available before the user submits the form.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#97892

@SGrueber SGrueber self-assigned this Jul 2, 2024
@SGrueber SGrueber added this to the 5.2 milestone Jul 2, 2024
@SGrueber SGrueber requested a review from suschneider July 2, 2024 13:23
@SGrueber SGrueber force-pushed the bugfix/captchaV3_token_fetching branch from 6b42237 to 4ec8509 Compare July 4, 2024 08:15
@SGrueber SGrueber merged commit 0d69d51 into develop Jul 4, 2024
22 checks passed
@SGrueber SGrueber deleted the bugfix/captchaV3_token_fetching branch July 4, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants