goauthentik / goauthentik/authentik
JWKS in Forward Proxy Application is empty
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 644
Description
**Describe the bug**
Im wondering why my JWKS is empty. I have setup a forward auth proxy with traefik, and if i request to
```
https://my-server/application/o/my-app/.well-known/openid-configuration
```
I get this response:
```
//[...]
"form_post"
],
"jwks_uri": "https://my-server/application/o/my-app/jwks/",
"grant_types_supported": [
"authorization_code",
//[...]
```
But if i try to access that jwks endpoint i get `{}` as a response.
**To Reproduce**
Steps to reproduce the behavior:
1. Follow this https://goauthentik.io/docs/providers/proxy/server_traefik
2. Then create a normal forward auth app.
**Expected behavior**
The JWKS should not look like that.
**Version and Deployment (please complete the following information):**
- authentik version: 2023.5.3
- Deployment: docker-compose
**Logs**

**Additional context**
I already read something about that here https://github.com/goauthentik/authentik/issues/3909 which is closed and marked as fixed with this merge https://github.com/goauthentik/authentik/pull/4480, but whats wondering me is that the changes made theyr are not any more in the file:
Here created:
https://github.com/goauthentik/authentik/blob/c11367553e07e2762c0b4f9c5838119b9ecce96a/internal/outpost/proxyv2/application/endpoint.go
Here removed:
https://github.com/goauthentik/authentik/blob/ef028af7d1876f3daa559d5ffe6919438c387632/internal/outpost/proxyv2/application/endpoint.go
But im not even sure if this originally fixed the issue as after downgrading to 2023.4.1 the issue also exists.
Edit: I checked now also 2023.1.0 with a complete fresh installation and the issue exists also there.
Contributor guide
Assessment
This issue has not been assessed yet.