Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
  "<entity-entity-identifier>": {
    "entity_types": [
      "federation_entity",
      "openid_credential_entity",
      "oauth_authorization_server"
    ],
    "jwks": 
  }
}

...


  • Change <entity-entity-identifier> to the entity_id of the entity
  • In OIDF the In OIDF the metadata object inside the Entity Configuration is structured by federation entity types, and each corresponds to a role that an entity can play.

    The specification defines the following standard metadata types. insert the one that corresponds with the entity:

    • federation_entity

      • Mandatory for every participant.
      • Contains federation-related endpoints such as federation_fetch_endpoint, federation_resolve_endpoint, federation_list_endpoint, and optionally federation_trust_mark_endpoint, etc.
    • openid_relying_party

    • openid_provider

      • Used when the entity is an OpenID Provider.
      • Contains metadata (like authorization_endpoint, token_endpoint, userinfo_endpoint, jwks_uri, supported algorithms, etc.), aligned with OIDC Discovery.
    • oauth_authorization_server

  • Move the Public Keys into jwks:
    • Locate the "keys" array in the entity configuration
    • Move it inside the "jwks" section


The

...

file

...

should

...

look

...

like

...

this:

Code Block
 {
  

...

"https://entity.example.com": {
  

...

  "entity_types": [
    

...

  "federation_entity",
    

...

  "openid_credential_entity",
      

...

"oauth_authorization_server"
    

...

],
  

...

  "jwks": {
      

...

"keys": [
      

...

  {
        

...

  

...

"kty": "RSA",
        

...

  "use": "sig",
        

...

  "kid": "example-kid",
        

...

  

...

"n": "example-n-value",
        

...

  

...

"e": "AQAB"
        

...

}
    

...

  ]
  

...

  }

...

  }
}

...


Option 2: One-Liner Command (Automated)

...