[keycloak-user] How to increase session/token timeout for reset action emails?
Edgar Vonk - Info.nl
Edgar at info.nl
Fri Mar 4 06:06:03 EST 2016
Some more info: currently we have the ‘Login action timeout’ set to 2 days (48 hours). In the ‘reset action’ emails that are sent to our user we see:
"Your adminstrator has just requested that you update your Our Realm account. Click on the link below to start this process.
https://gry-test.info.nl/auth/realms/our-realm/login-actions/execute-actions?key=zHyraAkcSzGO6HXXF9uVTrVx4r_b3a8Qk9JqWwF47gI.cf034bbd-2779-4aab-a444-0b86ffc9f948
This link will expire within 2880 minutes.”
So we assumed that these ‘Account Session’ tokens would remain active for 2 days (=2880 minutes). However this does not seem to be the case.. If I am not mistaken these sessions only live 30 minutes, the same as normal user sessions.
Are we doing something wrong or is this is an issue in Keycloak?
PS: instead of 'normal' sessions we would really want to use offline tokens for the reset action emails so that the reset action tokens are persisted in the database and can survive a server restart.
cheers
Edgar
> On 04 Mar 2016, at 10:20, Edgar Vonk - Info.nl <Edgar at info.nl> wrote:
>
> Hi all,
>
> We use the ‘Users > Credentials > Reset Actions (Update Password) > Reset Actions Email’ functionality to send out emails to our users so that they can set their password and log in to our application. This seems to result in an ‘Account Session’ for each user. We notice that the timeout for these sessions is too low for our purposes.
>
> How can we increase it? Is this the ‘SSO Session Max’ setting (default: 10 hours) or something else? We first thought it was the ‘Login action timeout’ but apparently not. We want it to be in the order of several days.
>
> cheers
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160304/40378c17/attachment.bin
More information about the keycloak-user
mailing list