1
0
forked from baron/baron-sso

chore(auth): restrict OIDC generated claims debug logs to dev environment

- Prevent overly verbose logging of ID token payloads in production by checking APP_ENV
This commit is contained in:
2026-04-24 12:00:00 +09:00
parent 8e28a9d74b
commit f810427b21
2 changed files with 11 additions and 5 deletions

View File

@@ -323,7 +323,7 @@ func (h *UserHandler) GetUser(c *fiber.Ctx) error {
}
return c.JSON(h.mapIdentitySummary(c.Context(), *identity))
}
}
func (h *UserHandler) CreateUser(c *fiber.Ctx) error {
if h.OryProvider == nil || h.KratosAdmin == nil {