Repository navigation
Replies: 3 comments 10 replies
|
To prevent a proliforation of options, shouldn't this be considered prior to including #40309 Should we aim for a generalized expiration parameter / option: expiration=[never|logout] Eventually time intervals would be supported as well. We could have an explicit "default" or just assume that if not specified the default behavior would be assumed - which would be the current handling of marking as temp, but not deleting. |
|
I haven't waded through all the proposals and counter-proposals, but I do want to sound a note of caution. We need to be very careful not to damage the "out of box" experience. Just having this temporary admin user is already confusing to someone who is trying Keycloak for the first time. Please don't do anything that makes it even more complicated. Someone evaluating Keycloak should be given the simplest, most pleasant encounter possible. |
|
I get the idea behind For one it will be a very bespoke piece of code for this use-case, and awkward to implement. It can't just rely on the user actively logging out, as it's very likely the user don't do that, but rather just let the session expire. Further, this is pretty intrusive. For a quick start / demo scenario it's an additional option I would have to disable. What if there are other things like that down the line? I don't want to have to disable multiple things just to try Keycloak out. For a production scenario maybe I made a mistake or need some extra time to setup things properly? Besides the whole idea of temporary admin accounts is not the best approach in either case; so let's not continue to expand on it, but rather come up with something better. I propose something more along the lines of #41382 |
Uh oh!
There was an error while loading. Please reload this page.
Temporary administrators have been introduced a while back now and have been playing a vital role in other features like recovering lost admin credentials. The code clearly suggests that Temporary Administrators were designed to support expiration time but this extension has been abandoned.
This discussion suggests a different workflow and always deleting temporary Admin Account when they log out. This new functionality would be activated upon a new CLI configuration parameter, for example:
bootstrap-admin user --always-deleteand would be turned on by default.This discussion is also related to:
cc @vmuzikar @shawkins
All reactions