-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Case sensitive usernames when logging in with an app password via webdav #29708
Comments
GitMate.io thinks a possibly related issue is #29063: Generic Share Exception when attempting to create new shares (OC10.0.3). |
At first I'd think it's only a matter of adding |
From what I remember, app passwords are created based on the login you have used for the session in which you created the app password. There is some information that is encrypted in the database using this specific user id. So using a different user id in combination with that password cannot work. This is not only about casing but also affects setups where LDAP allows a single user to login with several different login names. Only one can be used in combination with an app password. This is why it is currently displayed in the settings page along with the token. They need to be copy-pasted as is. Also app passwords are usually designed to be stored and saved once. So the user only ever enters this once in their apps. So there is no UX benefit of allowing different username casings anyway. Closing as "by design". |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
The login should be case insensitive for the login.
Actual behaviour
The login is rejected because it does not match what is stored in ownCloud
Server configuration
Operating system: Redhat 7
Web server: Apache 2.2.15
Database: MariaDB 10.0.27 with Galera 25.3.18
PHP version: 7.0.23
ownCloud version: 10.0.3
Updated from an older ownCloud or fresh install: Updated from 8.2.11
Where did you install ownCloud from: https://owncloud.org/install/#edition
Signing status (ownCloud 9.0 and above):
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: user_saml
Logs
I don't think any of the logs are relevant. But here's the header responses from a simple curl (truncated, only difference is the capital letters in my username):
The text was updated successfully, but these errors were encountered: