-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sign: set the oidc redirect uri #1675
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1675 +/- ##
==========================================
- Coverage 29.43% 29.40% -0.03%
==========================================
Files 141 141
Lines 8413 8420 +7
==========================================
Hits 2476 2476
- Misses 5668 5675 +7
Partials 269 269
Continue to review full report at Codecov.
|
35c6fa1
to
d9f705c
Compare
I am failing similar issues to #1676 regarding the windows build's step 🤔 . |
Cc @cpanato |
see comment here #1676 (comment) |
Thanks @cpanato, I'll follow the recommendation in #1676 (comment) |
b167c26
to
9c5ec91
Compare
9c5ec91
to
dbbf86c
Compare
e21cd0d
to
2bed7a9
Compare
Is this ready for merge? |
We can probably wait til end of week to see if the Let's Encrypt PR gets merged? Was there a reason we needed the sigstore fork? |
sgtm
@cpanato made similar changes to sigstore/sigstore regarding the boulder package. |
If we override boulder in Cosign, I don't think we need the sigstore/sigstore fork too. |
It's been merged! letsencrypt/boulder#6029 Yay! |
Signed-off-by: hectorj2f <[email protected]>
Signed-off-by: hectorj2f <[email protected]>
Signed-off-by: hectorj2f <[email protected]>
Signed-off-by: hectorj2f <[email protected]>
2bed7a9
to
4b486d2
Compare
Nice! this should be good for a merge after tests pass. |
Thanks ;) |
* oidc: set redirect uri if needed Signed-off-by: hectorj2f <[email protected]> * docs: add oidc-redirect-uri optional flag Signed-off-by: hectorj2f <[email protected]> * cmd: add the oidc redirect uri to key.Opts Signed-off-by: hectorj2f <[email protected]> * add missing third_party packages Signed-off-by: hectorj2f <[email protected]>
Summary
When using certain OIDC providers, you might need to set a specific a
redirect_uri
. This implementation defaults to the old mechanism setting a listener on localhost and letting the OS to pick a port if the redirect_uri is not set.To set the
redirect_uri
value, I added a new flag named--oidc-redirect-uri
.This PR is related to sigstore/sigstore#353.
Ticket Link
Fixes #1105 and #1311
Release Note