The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/setup-grafana/configure-security/configure-authentication/passwordless/index.md

1.5 KiB

description labels menuTitle title weight
Learn how to configure passwordless authentication with magic links in Grafana [{products [enterprise oss]}] Passwordless Configure passwordless authentication with magic links 200

Configure passwordless authentication with magic links

Passwordless authentication lets Grafana users authenticate with a magic link or one-time password (OTP) sent via email.

Enable passwordless authentication

{{% admonition type="note" %}} Passwordless authentication is an experimental feature. Engineering and on-call support is not available. Documentation is either limited or not provided outside of code comments. No SLA is provided. Enable the passwordlessMagicLinkAuthentication feature toggle in Grafana to use this feature. {{% /admonition %}}

To enable passwordless authentication, use the following configuration:

[auth.passwordless]
enabled = true

Code expiration

By default, the one-time password (OTP) sent to a user's email is valid for 20 minutes. Use the code_expiration option to change the duration that the OTP is valid.

[auth.passwordless]
enabled = true
code_expiration = 20m

Enable SMTP server

The SMTP server must be enabled so that Grafana can send emails. The following configuration enables the SMTP server. For more information on configuring the SMTP server, refer to SMTP.

[smtp]
enabled = true