Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana/v12.4/setup-grafana/configure-access/configure-authentication/passwordless.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/v12.4/setup-grafana/configure-access/configure-authentication/passwordless/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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
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
passwordlessMagicLinkAuthenticationfeature toggle in Grafana to use this feature.
To enable passwordless authentication, use the following configuration:
[auth.passwordless]
enabled = trueCode 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 = 20mEnable 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 = trueWas this page helpful?
Related resources from Grafana Labs


