How to specify refresh tokens lifespan in Keycloak

别等时光非礼了梦想. 提交于 2020-12-01 02:31:47

问题


Keycloak refresh token lifetime is 1800 seconds:

"refresh_expires_in": 1800

How to specify different default expiry time? In Keycloak admin ui, only access token lifespan can be specified:


回答1:


The refresh token lifetime is controlled by the SSO Session Idle Setting. 30 minutes = 30 * 60 = 1800 seconds (the refresh_expires_in value)



来源:https://stackoverflow.com/questions/52040265/how-to-specify-refresh-tokens-lifespan-in-keycloak

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!