Skip to main content
Version: 1.20.7

Raidiam Connect SSA APIs

Raidiam Connect Standard Software Statement Assertion APIs

Software Statement Assertion (SSA)

The SSA is a JSON Web Token (JWT) containing client metadata about an instance of client software. The JWT is issued and signed by the Directory.

SSA Payload

The payload of the SSA MUST be a compliant software statement according to [RFC7591]. The SSA MUST also be a compliant JWT according to [RFC7519]. The following metadata profiles the metadata in [RFC7591] and [RFC7519]:

MetadataDescriptionSource Specification
softwareidUnique Identifier for Client Software[RFC7591]
issSSA Issuer[RFC7519]
iatTime SSA issued[RFC7519]
jtiJWT ID[RFC7519]

The following software metadata is additionally defined for this profile:

MetadataDescriptionField SizeDefault values
SoftwareClientIdThe Client ID Registered in Directory services used to access directory resourcesBase62 GUID (22 chars)
SoftwareClientDescriptionHuman-readable detailed description of the clientMax256Text
SoftwareClientNameHuman-readable Software statement NameMax40Text
SoftwareClientUriThe website or resource root uriMax256Text
SoftwareVersionThe version number of the software should an org choose to register and / or maintain itdecimal
SoftwareEnvironmentRequested additional field to avoid certificate checkMax256Text
softwareJwksUriContains all active signing and network certs for the softwareMax256Text
SoftwareJwksRevokedUriContains all revoked signing and network certs for the softwareMax256Text
SoftwareLogoUriLink to the Org logo.Max256Text
SoftwareModeOrg Requested additional field to indicate that this software is Test or Live the default is Live. Impact and support for Test software is up to the Org.Max40Text
SoftwareOnBehalfOfA reference to fourth party organisation resource on the Directory if the registering app is acting on behalf of another.Max40Text
SoftwarePolicyUriA link to the software's policy pageMax256Text
SoftwareRedirectUrisRegistered client callback endpoints as registered with RTSA string array of Max256Text items
SoftwareAuthorityClaimsA multi value list of roles that this software is authorized to perform.A string array of authority claims items
SoftwareTosUriA link to the software's terms of service pageMax256Text

The following Organisational metadata is defined for this profile:

MetadataDescriptionField SizeDefault values
OrganisationAuthorityClaimsClaims object for the organisation detailing all the authorisation roles
OrgStatusIncluded to cater for voluntary withdrawal from directory scenariosActive, Revoked, or Withdrawn
OrgIdThe Unique Organisation Id.Max35Text
OrgNameLegal Entity Identifier or other known organisation nameMax140Text
OrgContactsJSON array of objects containing a triplet of name, email, and phone numberEach item Max256Text
OrgJwksUriContains all active signing and network certs for the organisationMax256Text
OrgJwksRevokedUriContains all revoked signing and network certs for the organisationMax256Text

SSA Header

The SSA header MUST comply with [RFC7519].

MetadataDescriptionComments
typMUST be set to JWT
algMUST be set to ES256 or PS256 note the majority of ecosystems use RSA keys so support for PS256 is critical
kidThe kid will be kept the same as the x5t parameter. (X.509 Certificate SHA-1 Thumbprint) of the signing certificate.

Federation/Non Federation

The SSA API is designed to support both Federated and Non-Federated Trust Frameworks.

When OIDC Federation is not utilized within the Trust Framework, the client_uri parameter is excluded from the SoftwareStatementAssertionBody.

Example SSA

The elements defined in the software statement will consist of the following values.

Note that there are inconsistent applications of booleans or "Active" strings in the current data model.

Note that there are inconsistent applications of status flags case sensitivity.

The attributes required to be displayed by Orgs.

{
"typ": "JWT",
"alg": "ES256",
"kid": "ABCD1234"
}
{
"iss": "Example Ltd",
"iat": 1492756331,
"jti": "id12345685439487678",
"SoftwareEnvironment": "production",
"SoftwareMode": "live",
"SoftwareId": "65d1f27c-4aea-4549-9c21-60e495a7a86f",
"SoftwareClientId": "xClient Unique ID",
"SoftwareClientName": "Amazon Prime Movies",
"SoftwareClientDescription": "Amazon Prime Movies is a moving streaming service",
"SoftwareVersion": "2.2",
"SoftwareClientUri": "https://prime.amazon.com",
"SoftwareRedirectUris": [
"https://prime.amazon.com/cb",
"https://prime.amazon.co.uk/cb"
],
"SoftwareAuthorityClaims": {
"AuthorisationDomains": [
{
"AuthorisationDomain": "PDS2",
"Roles": [
{
"Role": "ASPSP",
"Status": "Active"
}
]
},
{
"AuthorisationDomain": "Pensions",
"Roles": [
{
"Role": "TPP",
"Status": "Active"
},
{
"Role": "ASPSP",
"Status": "Active"
}
]
}
]
},
"OrganisationAuthorityClaims": [
{
"AuthorityId": "123",
"RegistrationId": "111111",
"AuthorisationDomains": [
{
"AuthorisationDomain": "PDS2",
"Roles": [
{
"Role": "ASPSP",
"Authorisations": [
{
"Status": "Active",
"MemberState": "GB"
},
{
"Status": "Active",
"MemberState": "IL"
}
]
},
{
"Role": "AISP",
"Authorisations": [
{
"Status": "Active",
"MemberState": "GB"
},
{
"Status": "Active",
"MemberState": "IL"
}
]
}
]
},
{
"AuthorisationDomain": "Pensions",
"Roles": [
{
"Role": "ASPSP",
"Authorisations": [
{
"Status": "Active",
"MemberState": "GB"
},
{
"Status": "Active",
"MemberState": "IL"
}
]
},
{
"Role": "TPP",
"Authorisations": [
{
"Status": "Active",
"MemberState": "GB"
},
{
"Status": "Active",
"MemberState": "IL"
}
]
}
]
}
]
}
],
"SoftwareLogoUri": "https://mycompanyprofile.com/logo.png",
"OrgStatus": "Active",
"OrgId": "My Company's ID",
"OrgName": "Registered Name",
"OrgContacts": [
{
"name": "contact name",
"email": "contact@contact.com",
"phone": "+447890130558",
"type": "business"
},
{
"name": "contact name",
"email": "contact@contact.com",
"phone": "+447890130558",
"type": "technical"
}
],
"OrgJwksUri": "https://jwks.raidiam.ts.uk/org_id/org_id.jkws",
"OrgJwksRevokedUri": "https://jwks.raidiam.ts.uk/org_id/revoked/org_id.jkws",
"SoftwareJwksUri": "https://jwks.raidiam.ts.uk/org_id/software_id.jkws",
"SoftwareJwksRevokedUri": "https://jwks.raidiam.ts.uk/org_id/revoked/software_id.jkws",
"SoftwarePolicyUri": "https://myapp.com/policy.html",
"SoftwareTosUri": "https://myapp.com/tos.html",
"SoftwareOnBehalfOf": "A Mediator Ltd"
}
{
Signature
}

Automated Client Registration

An organisation MAY use automated client registration to submit an SSA in exchange for client credentials for use as a client against an OAuth 2.0 Authorization Server. It is RECOMMENDED for Orgs to support the automated client registration mechanism. A large number of claims that OpenID Connect OPs could support as part of the RFC7591 request are detailed https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata and should be followed if not explicitly referenced in the Software Statement Assertion claim set.

Request Validation

Prior to issuing a client registration response, the Orgs MUST perform the following checks

  • The Org SHOULD check whether the initiated TLS connection is the same Org as listed in the SSA.
  • In the case where a gateway or other piece of infrastructure pre-terminates the MATLS channel in front of the registration endpoint, the certificate used to initiate the connection or some part of that certificate (such as DN & Issuer) SHOULD be made available to the Org for validation against the claims in the SSA.
  • The registration request MUST be signed with a key contained in the JWKS referenced in the SSA included with the request. This ensures that a holder-of-key proof-of-possession is performed proving that the app was the originally intended recipient of the SSA when the directory services issued it.
  • The SSA MUST be validated according to [RFC7519], including validation of the signature and validity window. JWT signature must be validated, this involves retrieving the jwks keyset for both the directory and the app. The keystore location will be published as part of the directory specification, The App's will be included in the software statement.

SSA Lifetime

The SSA's Lifetime / Validity period is not defined by RTS. Orgs in the directory ecosystem are required to implement pragmatic time ranges in which to accept an SSA. For example, an Org that has implemented Dynamic Client Registration may choose to accept SSA's that were issued no earlier than 1 minute prior to their presentation however Orgs that only support manual registration may need to accept SSAs that were issued 30 minutes prior as the elapsed time period between generation and use between these two flows is expected to differ significantly.

License

MIT