Can't connect to HA when using Authentik ? / Error HTTP 500


I am using an external box for my HA and traefik as proxy.

It is working well, I have access to HA from outside.

But when trying to use it with authentik I have a Not Found …

I have followed the integration procedure (application, provider and outpost) in authentik web site .

My HA config:

   username_header: X-authentik-username```

Idea ?

Now I do have an HTTP error 500

Hey, did you ever get this to work?
I am having the same issue. Have configured it how Authentik says to, but get a 404 not found error after the Authentik redirect