The oauth2 app uses js to fill the login with the user from the redirect url. Why exactly I don't know. The LoginController in core already picks up a user parameter and fills the login form username with it. AFAICT the code picks up the user from the redirect url. Who knows where that is used.
The oauth2 app uses js to fill the login with the user from the redirect url. Why exactly I don't know. The LoginController in core already picks up a
user
parameter and fills the login form username with it. AFAICT the code picks up the user from the redirect url. Who knows where that is used.In any case this PR looks up the user and uses the username instead of the userid. Similar to https://github.com/owncloud/core/pull/39870