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

Invalid usernames allowed #750

Open
fetimo opened this issue Jul 17, 2023 · 0 comments
Open

Invalid usernames allowed #750

fetimo opened this issue Jul 17, 2023 · 0 comments

Comments

@fetimo
Copy link

fetimo commented Jul 17, 2023

Steps to reproduce

  1. Setup SAML with Auth0 (or another IdP with different username requirements to Nextcloud)
  2. Login to Nextcloud
  3. Use an app assuming a standard Nextcloud username e.g. Talk

Expected behaviour

The SSO & SAML app should convert usernames into a format compatible with Nextcloud or include a warning. Or perhaps a lookup table from the original username to a Nextcloud version?

Actual behaviour

The SSO & SAML app allows invalid usernames. This has a knock-on effect on other apps (see nextcloud/server#40016) that assume a username looks like a valid Nextcloud username.

Server configuration

Operating system: Linux 5.4

Database: 10.5

PHP version: 8.1.19

Nextcloud version: 25.0.7 Enterprise

SSO & SAML app version: 5.2.1

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

No branches or pull requests

1 participant