Permit unauthenticated requests to the password reset endpoint on the DEV
dev.ahxpm.com ingress route:
/py-app/api/account/password/reset
All other account API requests remain subject to the existing OIDC middleware.
The manifest k3s-INFRA/DEV/traefik-rules/poyee-app/IngressRoute.yaml defines:
poyee-app-v2-strip and poyee-app-cors-header./py-app/ route that also invokes ahx-oidc.authn-app.The Jenkins deployment configuration identifies these k3s-INFRA/DEV/traefik-rules
manifests as the route source applied to the ahxpm namespace.
Append the following exact path matcher to the existing public route's OR expression:
Path(`/py-app/api/account/password/reset`)
The endpoint will retain the existing strip-prefix and CORS behavior while it
will no longer reach ahx-oidc.authn-app. Exact matching deliberately excludes
other /py-app/api/account/ endpoints from public access.
PathPrefix public matcher. This is rejected because
it would remove authentication from endpoints outside password reset.After editing the local manifest: