Is there a way to view the current config on a Kra...
# talk-kratos
m
Is there a way to view the current config on a Kratos instance? I'm looking at the Kratos config here: https://www.ory.sh/docs/kratos/reference/configuration I understand there are various ways to override the default values via env vars as well as the
--config path/to/config.yaml
flag. But how can I see the "current running config" for my Kratos instance? For context, I'm troubleshooting an issue where Kratos is behaving as if
selfservice.allowed_return_urls
isn't being set, and verifying whether that's correctly configured will help me debug.
One solution that I'm imagining is offering an HTTP endpoint like
/status
, which returns the active configuration running for that service. It would help debug whether a config value has been correctly overridden, or replaced with a default value, etc. Here's an example of the
/status
endpoint that Grafana uses for one of their products: https://grafana.com/docs/tempo/latest/api_docs/#status Does something like this already exists for Hydra or Kratos? Maybe I should file a ticket for this as a feature request?
r
cool idea! please open a feature request ticket
m
Filed my feature request here: https://github.com/ory/kratos/issues/3617 Happy to discuss it further, and maybe contribute, if that sounds reasonable 😁