Impossible to log in Outline with Dex after update

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17 (stable)
What app is this about: Outline + Dex

Describe your issue

I updated Dex (Version 2.41.1~ynh2 => 2.43.1~ynh1) then Outline (0.83.0~ynh1 => 0.84.0~ynh2) and now I Dex doesn’t allow me to log in.
I used to be able to click on “Continue with member (password)”, being shown a prompt where I could log in with my Yunohost credentials and being redirected to Outline.
Now when I click on “Continue with member”, there is no login prompt and no redirection, I can briefly see the following URL in the address bar before being redirected back to the login method choice
https://outline.XXXXXXXXXXXX.net/auth?response_type=code&redirect_uri=https%3A%2F%2Foutline.XXXXXXXXXXXX.net%2Fauth%2Foidc.callback&scope=openid%20profile%20email&state=XXXXXXXXXXXXX&client_id=Outline

I am still logged in on another computer and I can still access my documents so I guess the outline update worked (I took the opportunity to export my documents in case I have to reinstall)

I checked Dex logs but nothing seems wrong, there is no errors

I am willing to investigate a bit and help with a fix but I don’t really know where to start.

Share relevant logs or error messages

journalctl

Jun 11 18:37:41 systemd[1]: Stopping dex.service - Dex: OpenID Connect Provider…
Jun 11 18:37:41 systemd[1]: dex.service: Deactivated successfully.
Jun 11 18:37:41 systemd[1]: Stopped dex.service - Dex: OpenID Connect Provider.
Jun 11 18:37:41 systemd[1]: dex.service: Consumed 2.188s CPU time.
Jun 11 18:37:41 systemd[1]: Starting dex.service - Dex: OpenID Connect Provider…
Jun 11 18:37:42 systemd[1]: Started dex.service - Dex: OpenID Connect Provider.
Jun 11 18:37:42 systemd[1]: Stopping dex.service - Dex: OpenID Connect Provider…
Jun 11 18:37:42 systemd[1]: dex.service: Deactivated successfully.
Jun 11 18:37:42 systemd[1]: Stopped dex.service - Dex: OpenID Connect Provider.
Jun 11 18:37:42 systemd[1]: Starting dex.service - Dex: OpenID Connect Provider…
Jun 11 18:37:42 systemd[1]: Started dex.service - Dex: OpenID Connect Provider.

/var/log/dex/dex.log

time=2025-06-11T18:37:41.980+02:00 level=INFO msg=“shutdown now” err=“received signal terminated”
time=2025-06-11T18:37:42.198+02:00 level=INFO msg=“Version info” dex_version=v2.43.1 go.version=go1.24.3 go.os=linux go.arch=amd64
time=2025-06-11T18:37:42.198+02:00 level=INFO msg=“config issuer” issuer=https://auth-outline.XXXXXXXXXX.net/
time=2025-06-11T18:37:42.199+02:00 level=INFO msg=“config storage” storage_type=sqlite3
time=2025-06-11T18:37:42.199+02:00 level=INFO msg=“config static client” client_name=Outline
time=2025-06-11T18:37:42.199+02:00 level=INFO msg=“config static client” client_name=Outline
time=2025-06-11T18:37:42.200+02:00 level=INFO msg=“config connector” connector_id=ldap
time=2025-06-11T18:37:42.200+02:00 level=INFO msg=“config skipping approval screen”
time=2025-06-11T18:37:42.200+02:00 level=INFO msg=“config refresh tokens rotation” enabled=true
time=2025-06-11T18:37:42.204+02:00 level=INFO msg=“listening on” server=http address=127.0.0.1:5556
time=2025-06-11T22:35:12.551+02:00 level=INFO msg=“keys expired, rotating”
time=2025-06-11T22:35:12.754+02:00 level=INFO msg=“keys rotated” next_rotation=2025-06-12T02:35:12.746Z

For anyone finding this topic and experiencing similar issues, I think I found the solution in this closed github issue, I’ll try later but I think it should fix it

1 Like

I tried and it worked !

Copying and pasting the solution from the Github issue for completness

DEX
sudoedit /var/www/dex/config.yaml.d/outline

      - https://outline.domain.tld/auth/oidc.callback

OUTLINE
sudoedit /var/www/outline/.env

OIDC_AUTH_URI=https://dex.domain.tld/auth
OIDC_TOKEN_URI=https://dex.domain.tld/token
OIDC_USERINFO_URI=https://dex.domain.tld/userinfo
1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.