Skip to content

Do not require email verification for OAuth users

What does this MR do and why?

This skips the required email verification feature for OAuth users.

Closes #400049

How to set up and validate locally

  1. Setup Google OAuth in GDK
  2. Enable the require_email_verification feature flag
    Feature.enable(:require_email_verification)
  3. Create an account by visiting http://localhost:3000/users/sign_up and clicking 'Register with: Google'
  4. Logout the new user
  5. Visit http://localhost:3000/users/sign_in and try to login the new user 5 times with a password
  6. Visit http://localhost:3000/rails/letter_opener and verify you have received an email with subject 'Unlock instructions'

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alex Buijs

Merge request reports