open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.26k stars 994 forks source link

JWT token expire time NOT works for Keycloak SSO #18004

Open datapopcorn opened 1 day ago

datapopcorn commented 1 day ago

Affected module UI

Describe the bug I am experiencing an issue with Keycloak integration for SSO login. Despite setting the JWT token duration to 3600 seconds, the system still automatically logs me out after approximately 10 minutes.

To Reproduce Use Keycloak login to OM set JWT token expire time to 3600s

image

real logout time is not what I have set

Expected behavior

Version:

Additional context Slack discussion: https://openmetadata.slack.com/archives/C02B6955S4S/p1723701912528949