Repository navigation
[full-ci] idp/proxy: Match users by ID instead of name by default - #6338
Conversation
|
If this fix correct it should fail in CI with an unexpected success: https://github.com/owncloud/ocis/blob/master/tests/acceptance/expected-failures-webUI-on-OCIS-storage.md?plain=1#LL77C1-L79C1 |
|
@micbar I am a bit unsure if we should still take this for 3.0 (mainly because of the changed defaults in the proxy, which might cause some fallout in existing |
|
Hm, this breaks basic auth it seems 😭 |
Another configuration issue (the |
Still does not work. Need to figure out what exactly that test does... |
|
@SwikritiT The test how fails in the same way as features/webUILogin/openidLogin.feature:50 so I guess this is related to owncloud/web#4677 ? At least the user is now correctly redirected to the login error page. It just does not get back to the login page. Same as for the openidLogin.feature:50 test. So IMO #904 should be considered fixed with this. |
|
@rhafer I tested this PR locally and it works as expected. As you mentioned the failure of the test should be related to owncloud/web#4677, I'll update the link in expected to fail. Thanks! |
Reconfigure the oidc clients for lico, so that lico adds the "lg.uuid" to tokens and userinfo by default. That claim will contain the userid. So we can now use the userid for matching users when using the default idm/idp configuration. This fixes further problems so that users being recreated with the same name are correctly treated as differnt users. Fixes: owncloud#904
|
Kudos, SonarCloud Quality Gate passed!
|








Reconfigure the oidc clients for lico, so that lico adds the "lg.uuid" to tokens and userinfo by default. That claim will contain the userid. So we can now use the userid for matching users when using the default idm/idp configuration. This fixes further problems so that users being recreated with the same name are correctly treated as differnt users.
Fixes: #904