Hi Team,
I am using grafana version 9.2.1.
Just need to understand if it is possible to allow only a single user logon session for each.
For example if I logged in to grafana already on one browser, grafana should not allow me to login from other browsers until i logout from first browser.
If this is possible or not, if yes how can i achieve this.
Thanks.
Aman Sharma
1 Like
Hi, did you find a solution?
I’ve tried setting this in grafana configuration, but it does not work
#################################### Usage Quotas ########################
[quota]
enabled = true
# global limit on number of logged in users.
global_session = 1
You can buy Grafana Enteprise and ask for Max Concurrent User Sessions: 1 for your license (by default it is a 3, but you may ask for more restrictive license in theory).
Limit session termination works differently as you need - Grafana Enterprise license | Grafana documentation :
Concurrent sessions limit: As of Grafana Enterprise 7.5, users can initiate up to three concurrent sessions of Grafana.
The system creates a session when a user signs in to Grafana from a new device, a different browser, or an incognito window. If a user signs in to Grafana from another tab or window within the same browser, only one session is used.
When a user reaches the session limit, the fourth connection succeeds and the longest inactive session is signed out.
At the end it worked for 5 user max adding
[quota]
enabled = true
global_session = 5
[auth]
login_maximum_inactive_lifetime_duration = 20m
login_maximum_lifetime_duration = 2h
token_rotation_interval_minutes = 1
Did it work for community grafana or you had to use enterprise grafana?