Closed sabre1041 closed 3 months ago
Attention: Patch coverage is 66.66667%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 50.38%. Comparing base (
cf238ac
) to head (650764e
). Report is 153 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
pkg/oauthflow/oidc.go | 66.66% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
sigstore/sigstore#1698 (comment) mentions that this would not be spec-compliant. Has there been any attempt to resolve this via the IDP?
This is a limitation (only one of many) of Azure as also mentioned in the referenced issue.
However, there is already some precedence in the library sigstore uses to workaround this same limitation
https://github.com/coreos/go-oidc/blob/v3/oidc/oidc.go#L309 https://github.com/coreos/go-oidc/blob/v3/oidc/oidc.go#L491-L503
@haydentherapper thanks a bunch!
Theres a similar change incoming for https://github.com/sigstore/sigstore that will be submitted soon
Summary
Introduces support for
email_verifed
claim to be either a boolean or string valueReferences https://github.com/sigstore/sigstore/issues/1698
Release Note
email_verified
claim