mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-01 18:31:31 +08:00
update MFA docs
This commit is contained in:
parent
d95a313dad
commit
479ef63480
@ -40,10 +40,10 @@
|
|||||||
setup an OpenID service through google.</p>
|
setup an OpenID service through google.</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Set the <code>oauthBaseUrl</code>, <code>oauthClientId</code> and <code>oauthClientSecret</code> in
|
<li>Set the <code>oauthBaseUrl</code>, <code>oauthClientId</code> and <code>oauthClientSecret</code> in
|
||||||
the <code>config.ini</code> file, which located under the Trilium data folder.
|
the <code>config.ini</code> file (check <a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a> for
|
||||||
|
more information).
|
||||||
<ol>
|
<ol>
|
||||||
<li>You can also setup through environment variables (<code>TRILIUM_OAUTH_BASE_URL</code>, <code>TRILIUM_OAUTH_CLIENT_ID</code> and <code>TRILIUM_OAUTH_CLIENT_SECRET</code>),
|
<li>You can also setup through environment variables (<code>TRILIUM_OAUTH_BASE_URL</code>, <code>TRILIUM_OAUTH_CLIENT_ID</code> and <code>TRILIUM_OAUTH_CLIENT_SECRET</code>).</li>
|
||||||
but the recommanded way is setup through <code>config.ini</code> file.</li>
|
|
||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
<li>Restart the server</li>
|
<li>Restart the server</li>
|
||||||
|
@ -34,8 +34,8 @@ _Currently only compatible with Google. Other services like Authentik and Auth0
|
|||||||
|
|
||||||
In order to setup OpenID, you will need to setup a authentication provider. This requires a bit of extra setup. Follow [these instructions](https://developers.google.com/identity/openid-connect/openid-connect) to setup an OpenID service through google.
|
In order to setup OpenID, you will need to setup a authentication provider. This requires a bit of extra setup. Follow [these instructions](https://developers.google.com/identity/openid-connect/openid-connect) to setup an OpenID service through google.
|
||||||
|
|
||||||
1. Set the `oauthBaseUrl`, `oauthClientId` and `oauthClientSecret` in the `config.ini` file, which located under the Trilium data folder.
|
1. Set the `oauthBaseUrl`, `oauthClientId` and `oauthClientSecret` in the `config.ini` file (check <a class="reference-link" href="../../Advanced%20Usage/Configuration%20(config.ini%20or%20e.md">Configuration (config.ini or environment variables)</a> for more information).
|
||||||
1. You can also setup through environment variables (`TRILIUM_OAUTH_BASE_URL`, `TRILIUM_OAUTH_CLIENT_ID` and `TRILIUM_OAUTH_CLIENT_SECRET`), but the recommanded way is setup through `config.ini` file.
|
1. You can also setup through environment variables (`TRILIUM_OAUTH_BASE_URL`, `TRILIUM_OAUTH_CLIENT_ID` and `TRILIUM_OAUTH_CLIENT_SECRET`).
|
||||||
2. Restart the server
|
2. Restart the server
|
||||||
3. Go to "Menu" -> "Options" -> "MFA"
|
3. Go to "Menu" -> "Options" -> "MFA"
|
||||||
4. Click the “Enable Multi-Factor Authentication” checkbox if not checked
|
4. Click the “Enable Multi-Factor Authentication” checkbox if not checked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user