- What Grafana version and what operating system are you using?
v9.1.5 (df015a9301) - AlmaLinux -
What are you trying to achieve?
User to be logged out after 5mins if inactivity or stay logged in if actively using -
How are you trying to achieve it?
Via grafana.ini - What happened?
Inactivity =< Token Rotation
Token expires and user will be logged out regardless of activity/inactivity
Token Rotation =< Inactivity
Token rotates before expiring, does not log out user if inactive - What did you expect to happen?
User to be logged out after 5mins if inactivity or stay logged in if actively using - Can you copy/paste the configuration(s) that you are having problems with?
grafana.ini
Authentication
[auth]
disable_login_form = False
disable_signout_menu = False
login_maximum_inactive_lifetime_duration = 5m
token_rotation_interval_minutes = 3
[auth.ldap]
enabled = True
config_file = /etc/grafana/ldap.toml
allow_sign_up = True
[auth.basic]
enabled = True
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?
Configure authentication | Grafana documentation