- Issue created by @solideogloria
- First commit to issue fork.
- Status changed to Needs review
11 months ago 2:42pm 20 May 2024 - Status changed to RTBC
11 months ago 2:56pm 20 May 2024 - Status changed to Needs work
9 months ago 2:29pm 16 July 2024 - π¨π¦Canada liquidcms
I think the logic behind this is incorrect. As the title suggests, there should be an option to "disable the use of showcore". This isn't the same as forcing the login page with the OIC button. It should simply stop showcore in the url from doing anything.
It is difficult to develop against possible future enhancements; but I'd say it is safe to assume the Autologin feature β¨ Autologin when one client enabled Needs work will eventually be merged; and this patch does not take that into account. The admin UI for this shouldn't be "force replace" or anything to do with those options; it should simply be a separate checkbox for "Disable showcore" (or even better, it should be "Enable showcore" and have this security hole disabled by default).
With that feature disabled and autologin enabled; then going to user/login?anything-including-showcore would simply attempt to access whichever auth client is being used.
Patch on the way.
I use the Autologin feature as well, and the solution from the MR is working.
However, I do agree that a separate checkbox is probably the better solution.
- π¨π¦Canada liquidcms
@solideogloria, from what you describe in #6, that is not auto login. Auto login would not go to that page, it would just connect to your Auth provider. What do you see with auto login enabled?
Also, the name of the option (force replace) does sound like what you've described, which is not auto login.
We have done up a patch but would conflict with the auto login patch, so we've merged both functions into 1 patch. Just need to do some testing and will post here.
composer.json
"drupal/openid_connect": "^3.0@alpha", "drupal/openid_connect_windows_aad": "^2.0@beta",
composer.patches.json
"drupal/openid_connect": { "#3011413: Autologin when one client enabled": "./patches/openid_connect-3011413-m98.patch", "#3375886: Warning: Undefined array key 'iss_allowed_domains'": "./patches/openid_connect-3375886-m86.patch", "#3441149: Add option to disallow using the 'showcore' query parameter": "./patches/openid_connect-3441149-m108.diff" },
- πΊπΈUnited States pfrilling Minster, OH
pfrilling β changed the visibility of the branch 3.x to hidden.
- πΊπΈUnited States pfrilling Minster, OH
pfrilling β changed the visibility of the branch 3.x to active.
- πΊπΈUnited States pfrilling Minster, OH
I created a new MR with the changes from MR #108 and added functional testing. I think this looks good if someone wants to review and RTBC.
- πΊπΈUnited States pfrilling Minster, OH
pfrilling β changed the visibility of the branch 3.x to hidden.
Looks good to me. I've been using the changes for quite a while.
-
pfrilling β
committed 54746f31 on 3.x
Issue #3441149 by pfrilling, alt36, solideogloria, liquidcms: Add option...
-
pfrilling β
committed 54746f31 on 3.x
Automatically closed - issue fixed for 2 weeks with no activity.