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: don't accept a password longer than 72 bytes #6848

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

btasker
Copy link

@btasker btasker commented Jan 3, 2024

Fixes https://github.com/influxdata/quartz/issues/7457

Auth0 use bcrypt for password storage - the maximum input length for bcrypt is 72 bytes and Auth0 will truncate anything after that.

This adds a check to the signup page password validation.

Checklist

Authors and Reviewer(s), please verify the following:

  • A PR description, regardless of the triviality of this change, that communicates the value of this PR
  • Well-formatted conventional commit messages that provide context into the change
  • Documentation updated or issue created (provide link to issue/PR)
  • Signed CLA (if not already signed)
  • Feature flagged, if applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant