I’m using Chromium 101.0.4951.54, but I also tried in Firefox 100. The sequence unfolds the same in incognito mode, too.
The oidc.callback is setting an accessToken cookie, which is as close as I can see to a token:
accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBiOWQ1NGI4LWYzNjctNGQ1Ny05YTY2LTI1MmVkZGMzMmZhZiIsInR5cGUiOiJzZXNzaW9uIiwiaWF0IjoxNjUyMTY5MjQyfQ.xuRa6GqRwGctVDhwjiWYnn_7-OAeuxer3dC0cvD64Xw; path=/; expires=Wed, 10 Aug 2022 07:54:02 GMT; secure
/var/log/dex/dex.log:
root@themultiple:/home/sam# cat /var/log/dex/dex.log
time="2022-05-06T08:19:21Z" level=info msg="Dex Version: , Go Version: go1.17.9, Go OS/ARCH: linux amd64"
time="2022-05-06T08:19:21Z" level=info msg="config issuer: https://auth.domain.tld/"
time="2022-05-06T08:19:21Z" level=info msg="config storage: sqlite3"
time="2022-05-06T08:19:21Z" level=info msg="config static client: Outline"
time="2022-05-06T08:19:21Z" level=info msg="config connector: ldap"
time="2022-05-06T08:19:21Z" level=info msg="config refresh tokens rotation enabled: true"
time="2022-05-06T08:19:21Z" level=info msg="keys expired, rotating"
time="2022-05-06T08:19:22Z" level=info msg="keys rotated, next rotation: 2022-05-06 14:19:22.397009397 +0000 UTC"
time="2022-05-06T08:19:22Z" level=info msg="listening (http) on 127.0.0.1:5556"
time="2022-05-06T09:04:32Z" level=info msg="performing ldap search ou=users,dc=yunohost,dc=org sub (&(objectClass=InetOrgPerson)(uid=sam))"
time="2022-05-06T09:04:32Z" level=info msg="username \"sam\" mapped to entry uid=sam,ou=users,dc=yunohost,dc=org"
time="2022-05-06T09:04:32Z" level=info msg="login successful: connector \"ldap\", username=\"sam mcf\", preferred_username=\"\", email=\"sam@domain.tld\", groups=[]"
time="2022-05-06T09:04:56Z" level=info msg="performing ldap search ou=users,dc=yunohost,dc=org sub (&(objectClass=InetOrgPerson)(uid=sam))"
time="2022-05-06T09:04:56Z" level=info msg="username \"sam\" mapped to entry uid=sam,ou=users,dc=yunohost,dc=org"
time="2022-05-06T09:04:56Z" level=info msg="login successful: connector \"ldap\", username=\"sam mcf\", preferred_username=\"\", email=\"sam@domain.tld\", groups=[]"
time="2022-05-06T09:05:20Z" level=info msg="performing ldap search ou=users,dc=yunohost,dc=org sub (&(objectClass=InetOrgPerson)(uid=sam))"
time="2022-05-06T09:05:20Z" level=info msg="username \"sam\" mapped to entry uid=sam,ou=users,dc=yunohost,dc=org"
time="2022-05-06T09:05:20Z" level=info msg="login successful: connector \"ldap\", username=\"sam mcf\", preferred_username=\"\", email=\"sam@domain.tld\", groups=[]"
You can see multiple login attempts here. The Dex log shows a successful login, but it looks like the callback isn’t passing a token to Outline?
I will say that I cannot rule out some sort of bizarre deep system-level misconfiguration - I’ve nursed this server through I think 3 major Debian releases and many Yunohost releases? So it’s possible that this problem will be resolved by a fresh install (which I am going to do anyway because I’m moving the server onto new hardware shortly!) So it may be that we’re chasing a ghost down a rabbit hole too