diff --git a/infra/authentik/httproute.yaml b/infra/authentik/httproute.yaml index 1d07b6b..990739b 100644 --- a/infra/authentik/httproute.yaml +++ b/infra/authentik/httproute.yaml @@ -14,6 +14,20 @@ spec: namespace: traefik sectionName: websecure rules: + # The ArgoCD Android app posts to the token endpoint without its trailing slash + - backendRefs: + - name: authentik-server + port: 80 + filters: + - type: URLRewrite + urlRewrite: + path: + replaceFullPath: /application/o/token/ + type: ReplaceFullPath + matches: + - path: + type: Exact + value: /application/o/token - backendRefs: - name: authentik-server port: 80