Repository navigation
idtoken: emit a jti claim - #9693
Merged
Merged
Conversation
Signed-off-by: Bernhard Strähle <[email protected]>
Signed-off-by: Bernhard Strähle <[email protected]>
Member
|
Final decision regarding adding a knob: don't want a knob, always include a Mark the PR as ready to review at your leisure. TY! |
baloo42
marked this pull request as ready for review
August 31, 2026 22:14
changed the code to instead call what uuid.NewString() calls. If there's an error we safely catch and return the error. Causing a panic on the web node is generally a bad idea. Calling uuid.NewRandom() is what we do everywhere else that we use the uuid package. nit: Updated the tests to not use Succeed() as the matcher for errors. It reads weird and isn't the convention we follow in our tests. Signed-off-by: Taylor Silva <[email protected]>
taylorsilva
approved these changes
Sep 4, 2026
taylorsilva
left a comment
Member
There was a problem hiding this comment.
I pushed a commit to change how the uuid is generated. Using uuid.NewString() could result in a panic if there's an error generating the uuid. Everywhere else we use uuid in the code we instead call uuid.NewRandom() to catch and handle the error ourselves.
Otherwise this LGTM! I'll merge once the PR checks pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed by this PR
Closes #9692
jticlaimjtiin the OpenID discovery documentNotes to reviewer
Discussion: https://github.com/orgs/concourse/discussions/9690
A config knob is deliberately not implemented. This was discussed in the above discussion but rejected.