mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Add docs for Passwordless Authentication Using Magic Links (#96877)
* Docs: Add docs for Passwordless Authentication Using Magic Links * Update docs/sources/setup-grafana/configure-security/configure-authentication/passwordless/index.md Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> * Update docs/sources/setup-grafana/configure-security/configure-authentication/passwordless/index.md Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> * Update docs/sources/setup-grafana/configure-security/configure-authentication/passwordless/index.md Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> * match Writer's Toolkit style * Update docs/sources/setup-grafana/configure-security/configure-authentication/passwordless/index.md Co-authored-by: Jack Baldry <jack.baldry@grafana.com> --------- Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
parent
92bb51bdda
commit
d58dec7951
@ -25,6 +25,7 @@ The following table shows all supported authentication methods and the features
|
||||
| [Auth Proxy]({{< relref "./auth-proxy" >}}) | no | yes | yes | no | yes | no | N/A | no | N/A | N/A |
|
||||
| [Azure AD OAuth]({{< relref "./azuread" >}}) | yes | yes | yes | yes | yes | yes | N/A | yes | yes | yes |
|
||||
| [Basic auth]({{< relref "./grafana" >}}) | yes | N/A | yes | yes | N/A | N/A | N/A | N/A | N/A | N/A |
|
||||
| [Passwordless auth]({{< relref "./passwordless" >}}) | yes | N/A | yes | yes | N/A | N/A | N/A | N/A | N/A | N/A |
|
||||
| [Generic OAuth]({{< relref "./generic-oauth" >}}) | yes | yes | yes | yes | yes | no | N/A | yes | yes | yes |
|
||||
| [GitHub OAuth]({{< relref "./github" >}}) | yes | yes | yes | yes | yes | yes | N/A | yes | yes | yes |
|
||||
| [GitLab OAuth]({{< relref "./gitlab" >}}) | yes | yes | yes | yes | yes | yes | N/A | yes | yes | yes |
|
||||
|
@ -0,0 +1,46 @@
|
||||
---
|
||||
description: Learn how to configure passwordless authentication with magic links in Grafana
|
||||
labels:
|
||||
products:
|
||||
- enterprise
|
||||
- oss
|
||||
menuTitle: Passwordless
|
||||
title: Configure passwordless authentication with magic links
|
||||
weight: 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
|
||||
|
||||
{{< docs/experimental product="passwordless authentication" featureFlag="passwordlessMagicLinkAuthentication" >}}
|
||||
|
||||
To enable passwordless authentication, use the following configuration:
|
||||
|
||||
```bash
|
||||
[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.
|
||||
|
||||
```bash
|
||||
[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](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#smtp).
|
||||
|
||||
```bash
|
||||
[smtp]
|
||||
enabled = true
|
||||
```
|
Loading…
Reference in New Issue
Block a user