Skip to content

Improve handling of authorization errors#193

Draft
sbliven wants to merge 2 commits intomainfrom
no-ldap
Draft

Improve handling of authorization errors#193
sbliven wants to merge 2 commits intomainfrom
no-ldap

Conversation

@sbliven
Copy link
Member

@sbliven sbliven commented Jan 16, 2026

Adds a better error message for authentication failures with --user. One major source of such errors is using a personal account with --user, since LDAP is not supported with scicat v4. While we can't differentiate functional accounts from PSI usernames, this adds a warning about that upon auth failures. The --help message also reflects the meaning of --user better.

This "fixes" #191, which seems to have actually just been an authentication error.

Scicat v4 no longer supports LDAP authentication.

This commit also makes the error message clearer when authentication fails.
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