[
https://issues.apache.org/jira/browse/KNOX-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111597#comment-18111597
]
ASF subversion and git services commented on KNOX-3434:
-------------------------------------------------------
Commit e70fe0fae4326d8ecf1a6d2695a39cecd64b36e8 in knox's branch
refs/heads/master from hsheinblatt
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=e70fe0fae ]
KNOX-3434 - Allow missing typ when validating JWTs from TrustedOidcIssuers for
token exchange. (#1377)
* For token exchange with tokens from a trusted issuer, allow missing typ.
* Fix comments
---------
Co-authored-by: Harrison <[email protected]>
> Token validation for oidc trusted issuers skips typ validation so k8s
> projected tokens can be used
> --------------------------------------------------------------------------------------------------
>
> Key: KNOX-3434
> URL: https://issues.apache.org/jira/browse/KNOX-3434
> Project: Apache Knox
> Issue Type: Task
> Components: JWT
> Reporter: Harrison Sheinblatt
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently all tokens are validated with a commonly configured type verifier.
> k8s projected tokens do not include a typ header, and so would fail
> verification. When token verification uses a TrustedOidcIssuer, registered as
> an external issuer, then skip typ validation. This will allow k8s projected
> tokens to be verified.
> In the future, if other types of external issuers are to be registered, the
> schema for the trusted issuer can be extended to include a flag controlling
> if typ verification is to be skipped, or optionally which verifier to use.
> But for now, this avoids having to dynamically update the list of issuers for
> which to skip type verification separately from the trusted oidc issuer
> registration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)