Closed jglick closed 2 years ago
Possibly
IdTokenCredentials
could just have a format field
Would need to be considered carefully to make sure this does not introduce a weakness by allowing anyone to impersonate another job. I think that would not be a problem since you could only do that by creating your own credentials which would then have another issuer. Certainly safer for the sub
ject to not be under user control.
Prefer #18.
https://github.com/jenkinsci/oidc-provider-plugin/issues/14#issuecomment-1212069213
Under discussion what this should ultimately be. Possibly
IdTokenCredentials
could just have a format field where you could insert the project URL, full name, or various claims as you preferred.