-
Notifications
You must be signed in to change notification settings - Fork 74
Description
What happened?
I want to configure pinniped-oidc for a webapp according to this guide: https://pinniped.dev/docs/howto/configure-auth-for-webapps/
It says: "Clients must use PKCE during the authorization code flow."
However the supervisor does not seem to set CORS related Headers.
Setting them on an httpproxy (contour) is also not an option, since tlspassthrough is recomended.
What did you expect to happen?
I expect the CORS headers to be set on the response, since the guide's title is "Using the Pinniped Supervisor to provide authentication for web applications" and it says "Clients must use PKCE during the authorization code flow."
What is the simplest way to reproduce this behavior?
Connect any SPA as an oidcclient in pinniped supervisor and try to access the wellknown endpoint through a js-fetch.
In what environment did you see this bug?
- Pinniped server version: pinniped-server:v0.35.0
- Pinniped client version: N/A
- Pinniped container image (if using a public container image): ghcr.io/vmware-tanzu/pinniped/pinniped-server:v0.35.0@sha256:bf926dfd78ecca75fce0e43e243021dd9c122bd2cd94d38187b3c9f80138fca4
(other stuff is not relevant)
What else is there to know about this bug?