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

Stop assuming "full name" in OAuth #2436

Merged

Conversation

josephsnyder
Copy link
Member

Per a bug report, if an OAuth account name doesn't use a real name, CDash will 500 if a space doesn't exist in the name.

Check for the space before trying to separate into first and last names. If no space, use the whole string as the first name.

Fixes: #2435

@josephsnyder josephsnyder force-pushed the stop_full_name_assumption branch 4 times, most recently from 6edaf92 to 815ea3a Compare September 10, 2024 18:16
Per a bug report, if an OAuth account name doesn't use a real name,
CDash will 500 if a space doesn't exist in the name.

Check for the space before trying to separate into first and last names.
If no space, use the whole string as the first name.

Fixes: Kitware#2435
@josephsnyder josephsnyder force-pushed the stop_full_name_assumption branch from 815ea3a to 3ba519e Compare September 11, 2024 13:04
@williamjallen williamjallen added this pull request to the merge queue Sep 11, 2024
Merged via the queue into Kitware:master with commit a29c969 Sep 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDash OAuth login assumes "First Last" for name back from Provider
2 participants