-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
It would be useful for applications to be able to see the OIDC issuer that was used to get the OIDC token (because in the interactive case the user selects the identity/issuer outside the application): in the sigstore case the "issuer" we are interested in is the "ultimate" issuer that is federated via the sigstore dex instance. This is useful since
- application may know which identity/issuer will be acceptable in this situation and will be able to cancel before user accidentally signs with incorrect identity
- Showing the identity/issuer in the UI may be useful to allow user to verify they are doing the right thing
This federated issuer does not seem to be available in IdentityToken currently. Exposing it is slightly more complicate than the identity itself... based on the python implementation it's in unverified_claims["federated_claims"]["connector_id"]
https://github.com/sigstore/sigstore-python/blob/main/sigstore/oidc.py#L135
viccuad
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request