Skip to content

Ensure username for OIDC accounts fit into db constraints#2183

Open
cjh1 wants to merge 1 commit intocodalab:developfrom
cjh1:truncate
Open

Ensure username for OIDC accounts fit into db constraints#2183
cjh1 wants to merge 1 commit intocodalab:developfrom
cjh1:truncate

Conversation

@cjh1
Copy link
Contributor

@cjh1 cjh1 commented Feb 11, 2026

Description

The username column is constrained to 50 characters. It's possible that a nickname or email derived username could be larger than this ( was in the case of Globus auth ). Truncate username to the 50 character limit.

@ihsaan-ullah

Any relevant files for testing

link to any relevant files (or drag and drop into github)

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

The username column is constrained to 50 characters. It's possible
that a nickname or email derived username could be larger than this
( was in the case of Globus auth ). Truncate username to the 50
character limit.
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