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

Verification Workflow for registration and email verification "broken" when form field and implicit verification is used #2902

Open
jobannon opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jobannon
Copy link

jobannon commented Oct 16, 2024

Description

User does not receive the correct verification communication when form field is the verification strategy and both registration and email verification are enabled during registration (this workflow issue may extend to login as well).

Observed versions

1.53.2

Affects versions

The version, or versions where this bug exists. If you do not know, please leave blank for now.

Steps to reproduce

Two bugs 🐛

Case 1 - Two verification steps, only one step gated

  1. Prerequisite setup: Registration Verification enabled, but no "gate" for unverified behavior
  2. Prerequisite setup: Email Verification enabled (and do not allow implicit verification), with a "gate" enabled for unverified behavior
  3. User registers (self service)
  4. User receives registration verification email (but notably not an email verification email, even though this is the only "gate")
  5. User is redirected to email verification gate page (email/verification-required).
  6. User then has to click send me another email (this step should not be required, we should automatically do this)
  7. WORKAROUND - have JS complete this click operation in step 6, using our themes

Case 2- Two verification steps configured with two gates

  1. Prerequisite setup: Registration Verification enabled, with a "gate" enabled for unverified behavior
  2. Prerequisite setup: Email Verification turned on (and do not allow implicit verification), with a "gate" enabled for unverified behavior
  3. User registers
  4. User redirected to registration gate page (registration/verification-required). Receives email to verify registration. Enters registration verification code
  5. User redirected to email verification page (email/verification-required) , as expected. However, user is not sent email verification code.
  6. User then has to click send me another email (this should not be required, we should automatically do this)
  7. WORKAROUND - have JS complete this click operation in step 6, using our themes

Expected behavior

We should sent the correct communication at the correct times when email and registration workflows are both enabled.

Screenshots

If applicable, add screenshots to help explain your problem. Delete this section if it is not applicable.

Platform

(Please complete the following information)
Dev Setup - 1.53.2

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Additional context

Add any other context about the problem here.

@jobannon jobannon added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant