Skip to content

fix for correctness: maybe data is returned but is None or empty somehow#8

Open
echuber2 wants to merge 1 commit into
uillinois-community:mainfrom
echuber2:main
Open

fix for correctness: maybe data is returned but is None or empty somehow#8
echuber2 wants to merge 1 commit into
uillinois-community:mainfrom
echuber2:main

Conversation

@echuber2

Copy link
Copy Markdown
Contributor

I think it's possible that a field could be None or "" without triggering the exception, so we should explicitly mark the node invalid.

I think it's possible that a field could be None or "" without triggering
the exception, so we should explicitly mark the node invalid.
@echuber2

Copy link
Copy Markdown
Contributor Author

I've encountered at least one case in the wild where the SAML nameId came back null (None) despite there being an apparently fine user link in the GitHub web GUI. Besides adjusting the code slightly here to make sure this is flagged properly, and not knowing why this would happen, I guess the fix might be to revoke that user's SSO connection manually and ask them to re-authorize it.

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