You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cosign is starting a callback listener on localhost which receives the code from the OIDC issuer. The problem is that it uses a random free port, see here. So there is no way to know the exact redirect URL in advance for the OIDC dance. This is a problem because some (most?) OIDC issuers require a white list of callback URLs to be configured in advance otherwise they won't work. One example is Auth0 where I can put http://localhost:<port> as callback URL if I know the port number in advance.
So I propose adding a new command line argument (e.g. --oidc-callback-port) which specifies the port number of the callback listener. By default it will be 0 which means a random free port on localhost (current behavior). Let me know if this sounds reasonable and I will start working on PRs for the sigstore library and cosign.
The text was updated successfully, but these errors were encountered:
cosign
is starting a callback listener on localhost which receives the code from the OIDC issuer. The problem is that it uses a random free port, see here. So there is no way to know the exact redirect URL in advance for the OIDC dance. This is a problem because some (most?) OIDC issuers require a white list of callback URLs to be configured in advance otherwise they won't work. One example is Auth0 where I can puthttp://localhost:<port>
as callback URL if I know the port number in advance.So I propose adding a new command line argument (e.g.
--oidc-callback-port
) which specifies the port number of the callback listener. By default it will be 0 which means a random free port on localhost (current behavior). Let me know if this sounds reasonable and I will start working on PRs for the sigstore library and cosign.The text was updated successfully, but these errors were encountered: