Grafana authentication
In this section, you will explore some authentication methods that you can use with Grafana. However, due to the extensive configuration that these methods require, we will just see introductory information on each one.
The simplest method that you can use to authenticate users is the built-in user authentication system. This method is enabled by default, and you can use it as soon as you install Grafana, as we saw in Chapter 1, Getting Started with Grafana.
Short-lived tokens
Short-lived tokens allow active users to stay logged in. These short-lived tokens are rotated after a time equal to the specified by the token_rotation_interval_minutes
configuration setting.
If the token or an active user is rotated, then login_maximum_inactive_lifetime_duration
will be extended. So, the user can be inactive or even close the browser for a maximum time of timestamp of rotated token + login_maximum_inactive_lifetime_duration
.
Besides these intervals, the...