goauthentik / goauthentik/authentik

Having issues with webhooks, difficult to debug

Open
#11,820 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
651

Description

**Describe your question/**
I'm trying to configure a webhook via one of two ways:

- First is simply by using `host.containers.internal:port` to speak directly to an application running on my same podman host
- Second approach is by using a dapr sidecar and trying to send the request to `localhost:sidecarport`

In both scenarios, the request fails, but I get no feedback on what error was encountered.

**Relevant info**
Honestly, it's nothing too fancy. In the first scenario, it's about as basic as can be. In the second, it's a sidecar that is able to route http requests to "the right place" simply by path, say like this: `http://localhost:31336/v1.0/invoke/webhooks/method/authentik`.

**Screenshots**

This is the only feedback I get:
![image](https://github.com/user-attachments/assets/7e0248d4-ac8d-4d33-801c-5f84017341ca)

![image](https://github.com/user-attachments/assets/6624c940-f9dd-4f7c-a0f4-e0cc944ccd3c)

**Logs**
I wish I had logs! There's nothing about the webhook in the stdout or stderr of the server or worker processes, I did check.

**Version and Deployment (please complete the following information):**

- authentik version: `2024.8.3`
- Deployment: .NET Aspire, but it's basically just running containers and I'm using podman on linux

**Additional context**
Happy to answer questions! :pray:

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is identified in the report. Start by reproducing webhook delivery against both the Podman host address and the Dapr sidecar URL, then inspect the server and worker output; done would require identifying the failure and providing actionable feedback.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.