Skip to content

How to configure OIDC with external server? #5847

@whisperdancer

Description

@whisperdancer

The last update added support for external OIDC server. I can't locate much documentation on how to get this setup. I added several new environment vars and trilium shows the proper Login with PocketID button, but redirects to google instead of my server. Perhaps I'm using the wrong var names. It seems a misconfiguration issue. Seeking assistance to get this setup. Thank you.

I added and set accordingly:

TRILIUM_OAUTH_BASE_URL=<my server OIDC discovery url>
TRILIUM_OAUTH_CLIENT_ID=<my client id>
TRILIUM_OAUTH_CLIENT_SECRET=<my client secret>
TRILIUM_OAUTH_ISSUER_NAME=PocketID

Metadata

Metadata

Assignees

No one assigned

    Labels

    BEIssues related to server-side/back-end

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions