owncloud / oauth2

🔐 Application for using OAuth 2.0 in ownCloud
GNU Affero General Public License v3.0
32 stars 24 forks source link

use userid on api calls, show username in login form #327

Closed butonic closed 2 years ago

butonic commented 2 years ago

fixes https://github.com/owncloud/oauth2/issues/326 by partly reverting https://github.com/owncloud/oauth2/pull/286/files#diff-c88f37beed53f2aeb9db529d2af61368ae49ec6052aa091a062023ae9cfcc670L249-R259 and filling the login form with the login name in the web ui.

The userid should always be used on the api. Clients should use the displayname or email properties that can be accessed via the ocs api.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication