-
Hello! Looking into using Trilium and trying to setup the server. My compose looks like this:
And the trilium.env like this:
From how I understand the docs, I need to start the server and do not initialize it. That all seems to work. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
Related to #5847 |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, the OAuth login is only for the web instance and the desktop instance use a username/password login despite everything. For this reason you still need to configure a password during the server setup to make the sync work. I am not very familiar with the program and some aspect are not working as I would expect (why have a username if there is no multi-user support ?), so please excuse me if I mislead you on this. |
Beta Was this translation helpful? Give feedback.
-
What happens if you create a password for initializing Trilium? After initialization, does OIDC work as expected? When starting a brand new server, I don't believe the logic currently checks If not, after you initialize Trilium and then restart the server, does OIDC work as expected? The desktop client does not use a username/password. The desktop instance asks for a password when initializing from a server, which will need to be the same password as you entered in when initializing the server. |
Beta Was this translation helpful? Give feedback.
-
Meeting the same problem, including |
Beta Was this translation helpful? Give feedback.
-
Here's what worked for me: TRILIUM_OAUTH_BASE_URL=https://trilium.domain.com Here's the kicker. I kept getting errors when clicking on the "Sign in with Authentik". Everything seemed to be working except the authentication piece back to Authentik through the Redirect URL. I hope this helps someone! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get Triliumnext to use Authentik for authentication as well. |
Beta Was this translation helpful? Give feedback.
It doesn't say anywhere in the docs not to initialize Tr…