oauth-2.0 - 如何在 Keycloak 中指定刷新 token 的生命周期

标签 oauth-2.0 access-token openid-connect keycloak refresh-token

Keycloak 刷新 token 生命周期为 1800 秒:

"refresh_expires_in": 1800


如何指定不同的过期时间?在 Keycloak 管理 UI 中,只能指定访问 token 生命周期:
enter image description here

最佳答案

刷新 token 生命周期由 SSO session 空闲设置控制。 30 分钟 = 30 * 60 = 1800 秒(refresh_expires_in 值)

关于oauth-2.0 - 如何在 Keycloak 中指定刷新 token 的生命周期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52040265/

相关文章:

Python 如何通过使用 oauthlib 的帐户身份验证获取 ID_Token 以与 Open ID Connect 一起使用

authentication - 新站点有望支持哪些知名 OpenID 提供商?

node.js - Google NodeJS Gmail API 获取下一个/上一个线程以进行单线程分页

security - 如何在客户端保留不记名 token

php - 未捕获的 OAuthException : An active access token must be used to query information about the current user

identity - 使用刷新 token 时出现 Invalid_Grant 错误

oauth-2.0 - Linkedin OAuth2.0 : How to configure OAuth 2. 0 使用 Multi-Tenancy 应用程序的通配符子域 URL 重定向 URL

security - 用于身份断言的 ID token 或/userinfo

oauth-2.0 - Windows Live Open ID Connect/Oauth 2.0 如何使用 Apache mod_auth_openidc 进行 SSO

asp.net-core - Identity Server 4 的 API 授权不断返回 401 Unauthorized