Skip to content

Commit

Permalink
docs(README): fix debugging auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Feb 17, 2021
1 parent 6f310f3 commit a8c9656
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 <http://my-server/akhq>, set base-path: "/akhq/". Not needed if you're
Expand Down

0 comments on commit a8c9656

Please sign in to comment.