API browser not available
Describe the bug When I try to navigate to the API browser as per instructions, I end up getting a not found screen:
(ignore the SSL error, just a self-signed cert)
Version and Deployment (please complete the following information):
- authentik version:
2024.8.0 - podman
Additional context
I've got nginx in front of it, though it's a very basic reverse proxy setup locally on my workstation. Authentik otherwise seems to work great:
server {
listen 443 ssl;
server_name ~^auth(\..*)?\.localdev\.com$;
location @websocket {
proxy_pass http://authentik:8079;
}
location / {
proxy_read_timeout 30s;
proxy_http_version 1.1;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_pass http://authentik:8079;
}
}
The url you're accessing is missing a trailing slash.
Would love that, I never put or expect slashes at the end of my URLs.
The API browser is documented here with a trailing slash and the link in the authentik frontend goes to the correct URL with a trailing slash too
Erm... Why is it required?