mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
A trailing slash in OIDC_ISSUER causes two silent failures: 1. The discovery request to /.well-known/openid-configuration gets a double slash in the URL, which may result in a 404. 2. The iss claim in the returned JWT (e.g. https://auth.example.com) does not match the configured issuer (https://auth.example.com/), causing token validation to fail with a 401 Unauthorized error. This is a non-obvious gotcha that is hard to debug since Ghostfolio does not surface the underlying iss mismatch error to the user. Ref: https://github.com/ghostfolio/ghostfolio/discussions/4427pull/6413/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue