Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): document "invalid user" in OIDC (closes #5857)
Elian Doranb1b396c7c65f
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.htmlindex 14fb2df155..1dc07dff00 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html@@ -183,4 +183,12 @@something else (e.g. <code spellcheck="false">[MultiFactorAuthentication.bak]</code>.</li><li>Restart the server for the changes to take effect.</li>-</ol>\ No newline at end of file+</ol>+<h2>Troubleshooting</h2>+<h3>Setup fails with “invalid user”</h3>+<p>If you are running behind a <a href="#root/pOsGYCXsbNQG/Otzi9La2YAUX/WOcw2SLH6tbX/_help_vcjrb3VVYPZI">reverse proxy</a>,+ a buffer overflow can cause this issue. Here is a sample fix for + <a+ class="reference-link" href="#root/pOsGYCXsbNQG/Otzi9La2YAUX/WOcw2SLH6tbX/vcjrb3VVYPZI/_help_ud6MShXL4WpO">Nginx</a>: </p><pre><code class="language-text-x-trilium-auto">proxy_buffer_size 128k;+proxy_buffers 4 256k;+proxy_busy_buffers_size 256k;</code></pre>\ No newline at end of filediff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 47dc9f7e99..e426cee2c7 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -1576,6 +1576,20 @@"value": "openid-connect","isInheritable": false,"position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "vcjrb3VVYPZI",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ud6MShXL4WpO",+ "isInheritable": false,+ "position": 90}],"format": "markdown",diff --git a/docs/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.md b/docs/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.mdindex c42aa5db66..4f52653072 100644--- a/docs/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.md+++ b/docs/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.md@@ -77,4 +77,16 @@ Failing to disconnect before switching providers might temporarily lock you in,To disable the OpenID Connect authentication and instead rely on the local password temporarily, you must:1. Modify the `config.ini` or environment variables (depending on how you set up the provider information) and temporarily deactivate the multi-factor authentication section by renaming `[MultiFactorAuthentication]` to something else (e.g. `[MultiFactorAuthentication.bak]`.-2. Restart the server for the changes to take effect.\ No newline at end of file+2. Restart the server for the changes to take effect.++## Troubleshooting++### Setup fails with “invalid user”++If you are running behind a [reverse proxy](2.%20Reverse%20proxy.md), a buffer overflow can cause this issue. Here is a sample fix for <a class="reference-link" href="2.%20Reverse%20proxy/Nginx.md">Nginx</a>:++```+proxy_buffer_size 128k;+proxy_buffers 4 256k;+proxy_busy_buffers_size 256k;+```\ No newline at end of file