-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Preflight Checklist
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
- I am not looking for support or already pursued the available support channels without success.
Version
2.42.0
Storage Type
In-memory
Installation Type
Official Helm chart
Expected Behavior
no 404s when viewing anything other than the root
Actual Behavior
when you set the config like this
config:
issuer: https://<host>/
there is a double / which results in 404s.
ex: viewing the known hosts results in
https://<host>//.well-known/openid-configuration
and a 404 is returned
removing the / from the issuer fixes this:
config:
issuer: https://<host>
however it would be simpler to remove a trailing / for more painless deployments
Steps To Reproduce
- deploy dex using the official helm chart, adding the issuer url as shown above with the trailing slash
issuer: https://<host>/
- go to the UI and click on discovery. this will result in a 404
- remove the trailing /
- test again and the 404 is gone
Additional Information
No response
Configuration
config:
issuer: https://<hostname>/
storage:
type: memory
enablePasswordDB: true
staticPasswords:
- email: "jason@example.com"
hash: "<redacted>"
username: "jason"
userID: "0"