Skip to content

[BUG] Delayedgram SSO does not work when username is too short #25

@RachBartmoss

Description

@RachBartmoss

Bug Description

When a user tries to authenticate with a delayedgram account and his username is < 6 characters, the authentication fail

Steps to Reproduce

Please provide detailed steps to reproduce the bug. Include any necessary code snippets, configurations, or dependencies.

  1. go to the website
  2. select delayedgram SSO
  3. Enter a valid username with less than 6 character

Expected Behavior

The SSO should work with all valid Delayedgram account

Actual Behavior

The authentication fails with short username

Additional Information

The problem must lie in the username verification function in auth.js that requires a username of more than 6 characters, this rule shouldn't apply to Delayedgram SSO

Environment

  • Operating System: Windows 10
  • Browser (if applicable): Firefox
  • Version/Commit: N/A

Impact Level

Specify the impact level of the bug:

  • Critical: The bug causes a severe malfunction, crashes, or data loss.
  • High: The bug affects major functionality and causes significant issues.
  • Medium: The bug affects minor functionality but does not cause critical issues.
  • Low: The bug has minimal impact on functionality or user experience.

Reproducibility

Specify the reproducibility of the bug:

  • Always: The bug is reproducible every time.
  • Intermittent: The bug occurs randomly or under certain conditions.
  • Unable to Reproduce: The bug cannot be reproduced.

Proposed Solution (optional)

Modify the SSO function to not go through the username length check

Screenshots (optional)

N/A

Additional Context (optional)

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions