OpenSignLabs / OpenSign

🔥 The free & Open Source DocuSign alternative
https://www.opensignlabs.com
GNU Affero General Public License v3.0
3.32k stars 261 forks source link

[Bug]: Redundant Email Verification after Google Login #1322

Open mukul0596 opened 1 month ago

mukul0596 commented 1 month ago

Issue Description

When registering and logging into OpenSign using Google login, my email in the profile section is marked as "not verified." Despite having signed in via Google (which already verifies my email), I am still required to verify the email by generating and entering an OTP. This seems redundant and adds an unnecessary step to the registration process.

Expected Behavior

Once a user registers using Google login, the email should be automatically marked as "verified," as Google has already confirmed the validity of the email during the OAuth process.

Current Behavior

After registering with Google login, the email in the profile section is marked as "not verified." The system prompts the user to generate and enter an OTP sent to their email in order to verify it, even though Google has already verified the email during registration.

Steps to reproduce

  1. Register on OpenSign using Google login.
  2. After logging in, navigate to the profile section.
  3. Observe that the email is marked as not verified.
  4. Generate an OTP and verify the email manually, even though Google has already verified the email.

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Ubuntu 22.04.5 LTS

What browsers are you seeing the problem on?

Chrome

What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]

2.4.1

What environment are you seeing the problem on?

Production (app.opensignlabs.com)

Please check the boxes that apply to this issue report.

Code of Conduct

mukul0596 commented 1 month ago

Hi! I'd love to contribute and work on this bug. Please let me know if it's okay to proceed or if there are any specific guidelines or considerations you'd like me to follow.