Hi,
I set these two config to ‘0’ mistakenly, and couldn’t log in to keyclok administration console. How can I restore the configure to default? Thanks a lot.
Go to your DB and execute this statement and restart the server (or better: stop the server, execute the statement and start the server again), then you should be able to login again as an admin on master realm.
update realm set sso_idle_timeout = 1800, sso_max_lifespan = 36000 where name = 'master'
Thanks!
It worked. The exact commands are:
kcadm.sh update realms/$REALMNAME -s ssoSessionIdleTimeout=18000
kcadm.sh update realms/$REALMNAME -s ssoSessionMaxLifespan=36000
Then it restored to default setting.
You wanted to say “the commands that worked for me”.
My suggestion is also “exact”.