goauthentik / goauthentik/authentik
Configuring authentik to be reachable via docker bridge network
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 659
Description
**Describe your question/**
I have a docker-compose setup with multiple services. Most of which are background workers but still need client authentication. The services are connected via a Docker bridge network. Calling the token endpoint with client_credentials grant_type and the Docker-internal service name (https://idp:9000/application/o/token) of the Authentik server leads to a 405 response.
Doing the same request from the host with `localhost:9000` instead of `idp:9000` works.
What do I need to configure to make it work?
**Relevant info**
[docker-compose.yml.txt](https://github.com/user-attachments/files/17486362/docker-compose.yml.txt)
**Screenshots**


**Logs**
Output of docker-compose logs or kubectl logs respectively
**Version and Deployment (please complete the following information):**
- authentik version: 2024.8.3
- Deployment: docker-compose
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.