[Federation] Explicitly type JWTs returned from the resolve endpoint

Issue #1630 resolved
Vladimir Dzhuvinov created an issue

This is the only OIDC Federation 1.0 related token that remains untyped.

Proposal: application/trust-chain+jwt

(as “typ” JWT header becomes trust-chain+jwt)

Comments (7)

  1. Giuseppe De Marco

    nice hint, however the resolve response is not a trust chain but a jwt that may contain optionally a trust chain.

    application/federation-resolve+jwt seems more familiar to me

  2. Vladimir Dzhuvinov reporter

    Another possible variant: application/entity-resolve-response+jwt.

    So that it aligns with application/entity-statement+jwt.

  3. Giuseppe De Marco

    Well, if we agree it would be time for a PR

    I’m ok with application/resolve-response+jwt

  4. Giuseppe De Marco

    considering that application/entity-statement+jwt doesn’t specify if it’s intended for request or response, we know that the http request to the fetch endpoint doesn’t have this information I’m wondering to have the same approach also in the response mime type

    so, I’m also considering application/entity-resolve+jwt

  5. Log in to comment