Skip to main content
European CommissionEBSI European Blockchain
Select the Environment you want to work withEnvironment:
warning icon

A new version of this API is now available.

EBSI will stop supporting this maintenance version in the upcoming months. You can find the details of the upcoming release and affected endpoints in the change log. Please contact eu-ebsi@ec.europa.eu if this upcoming release might cause a high impact on either an ongoing development or a piloting demonstration.

Create an OAuth2 Session

Last updated on
POST 

/authorisation/v2/oauth2-sessions

Session Token endpoint for Component Authorisation (DID Auth - CCG Flow).

Request

Body

required
    grantType stringrequired

    Grant type. Must be set to "client_credentials"

    clientAssertionType stringrequired

    Client Assertion type. Must be set to "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"

    clientAssertion stringrequired

    Self-signed JWT

    scope stringrequired

    Scope is used to define the authentication method. Must be set to "openid did_authn"

Responses

Success

Schema
    ake1_enc_payload string

    Encrypted payload with user's public key

    ake1_jws_detached string

    Detached JWS of AKE1 Signing Payload

    ake1_sig_payload object
    ake1_enc_payload string

    Encrypted payload with user's public key

    ake1_nonce string

    Nonce used during the authentication process

    kid string

    Trusted App KID

    iat number

    Issued at

    exp number

    Expires

    iss string

    Issuer (Authorisation API)

    kid string

    API KID

Loading...