Skip to content

OIDC stops working #175

@mathieuruellan

Description

@mathieuruellan

Hello,

My oidc login integration fails. I dont't remember having changed anything.
My OIDC is correctly set.

I've got a 500 error page on https://vaultls.breizhbiniou.fr/api/auth/oidc/login

log:

2026-04-24T07:05:16.407068Z INFO vaultls::api: OIDC is active.

thread 'rocket-worker-thread' (14) panicked at src/api.rs:230:37:
called Option::unwrap() on a None value

setting.json

"oidc": {
"id": "xxO8X6bUclo7XYZz2ik8uEbtMHRE29pVOdWUB2wF",
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"auth_url": "https://authentik.XXXXX.fr/application/o/vaultls-oidc/",
"callback_url": "https://vaultls.XXXXXX.fr/api/auth/oidc/callback"
},

** Edit: 2026/05/03: **

The logs from authentik:

{"auth_via": "unauthenticated", "domain_url": "authentik.breizhbiniou.fr", "event": "/application/o/vaultls-oidc/.well-known/openid-configuration", "host": "authentik.breizhbiniou.fr", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 112938, "remote": "192.168.1.253", "request_id": "e406667131e245d89509a9c00be895b6", "runtime": 786, "schema_name": "public", "scheme": "https", "status": 200, "timestamp": "2026-05-03T18:23:18.320898", "user": ""}
{"auth_via": "unauthenticated", "domain_url": "authentik.breizhbiniou.fr", "event": "/application/o/vaultls-oidc/jwks/", "host": "authentik.breizhbiniou.fr", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 112938, "remote": "192.168.1.253", "request_id": "6b809ad4def94971955e7022a8cec378", "runtime": 859, "schema_name": "public", "scheme": "https", "status": 200, "timestamp": "2026-05-03T18:23:19.236266", "user": ""}

init start of vaultls:

vaultls.log

I've put RUST_LOG: debug on vaultls, and now it works :/
The problem seems to appear after a while.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions