Skip to content

OpenID defaulting to Google Instead of Authentik #6444

@Guruleenyc

Description

@Guruleenyc

I enabled openid in triliumnext, set the following docker container variables, and restarted The triliumnext docker.

TRILIUM_OAUTH_BASE_URL
TRILIUM_OAUTH_CLIENT_ID
TRILIUM_OAUTH_CLIENT_SECRET
TRILIUM_OIDC_ISSUER
TRILIUM_OIDC_AUTHORIZATION_URL
TRILIUM_OIDC_TOKEN_URL
TRILIUM_OIDC_USERINFO_URL
TRILIUM_OAUTH_ISSUER_NAME

However, I still receive " Login with Authentik" but button with a Google logo on it from triliumnext login page.
When I click on it it brings me to accounts.google.com instead of Authentik.

Looking under the MFA settings in triliumnext, when you tick on the openID option, the following verbiage is presented. It even states the default issuer is Google:

"OpenID is a standardized way to let you log into websites using an account from another service, like Google, to verify your identity. The default issuer is Google, but you can change it to any other OpenID provider. Check here for more information. Follow these instructions to setup an OpenID service through Google."

So why are my docker containing variables not being respected for Authentik instead?

Per AI:
"TriliumNext currently only supports Google as its OIDC/OpenID Connect Provider.

Even if you set all the correct Authentik environment variables in your Docker container, TriliumNext will not accept Authentik (or other custom OIDC providers) unless the application itself adds support for generic OIDC."

Is this true?

Metadata

Metadata

Labels

State: TriageIssues that need to be verifiedcontainerIssues related to containers, DockerHub or GHCR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions