From a8c965620b6dba6f45daae276f49998b02cd1b74 Mon Sep 17 00:00:00 2001 From: tchiotludo Date: Wed, 17 Feb 2021 20:27:44 +0100 Subject: [PATCH] docs(README): fix debugging auth --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 58bdee44d..88b9fe079 100644 --- a/README.md +++ b/README.md @@ -472,14 +472,6 @@ attributes: ``` with your group membership attribute -Debuging ldap connection can be done with -```bash -curl -i -X POST -H "Content-Type: application/json" \ - -d '{ "configuredLevel": "TRACE" }' \ - http://localhost:8081/loggers/io.micronaut.configuration.security -``` - - Configure AKHQ groups and Ldap groups and users ```yaml akhq: @@ -569,6 +561,20 @@ akhq: The username field can be any string field, the roles field has to be a JSON array. +### Debugging authentification + +Debugging auth can be done increase log level on micronaut that handle most of the authentification part : +```bash +curl -i -X POST -H "Content-Type: application/json" \ + -d '{ "configuredLevel": "TRACE" }' \ + http://localhost:8081/loggers/io.micronaut.security + + +curl -i -X POST -H "Content-Type: application/json" \ + -d '{ "configuredLevel": "TRACE" }' \ + http://localhost:8081/loggers/org.akhq.configs +``` + ### Server * `micronaut.server.context-path`: if behind a reverse proxy, path to akhq with trailing slash (optional). Example: akhq is behind a reverse proxy with url , set base-path: "/akhq/". Not needed if you're