Closed yahavi closed 4 months ago
Fix https://github.com/jfrog/setup-jfrog-cli/issues/146.
Previously, we assumed all JWT tokens followed this subject structure:
jfac@<some-characters>/users/<user-name>
However, OIDC tokens with group scopes might follow this subject structure instead:
<provider-name>/<identity-mapping>
This structure can serve as a standard username.
[x] I used gofmt for formatting the code before submitting the pull request.
Fix https://github.com/jfrog/setup-jfrog-cli/issues/146.
Previously, we assumed all JWT tokens followed this subject structure:
However, OIDC tokens with group scopes might follow this subject structure instead:
This structure can serve as a standard username.