To retrieve information of an existing application, make a GET
request to the /register
endpoint.
Requests must be authenticated with an access token with any valid scope (accounts
, payments
or openid
) and must contain the Client ID of the application.
Parameter | Description |
---|---|
access_token | Access token. |
client_id | Client ID of your application. |
curl -X GET https://oba-auth.revolut.com/register/<client_id> \
-k --cert transport.pem --key private.key \
-H 'Authorization: Bearer <access_token>'
The response contains a JSON object with the information associated with your application:
JWT payload | Description |
---|---|
client_id | The Client ID of your application. |
token_endpoint_auth_method | The authentication method. Always tls_client_auth . |
tls_client_auth_dn | The distinguished name (DN) of the transport certificate. |
id_token_signed_response_alg | The signing algorithm used to sign the id_token JWTs. Currently, only PS256 is supported. |
request_object_signing_alg | The signing algorithm used to sign request objects. Currently, only PS256 is supported. |
redirect_uris | List of allowed redirect URIs. |
org_jwks_endpoint | Your JWKs endpoint. |
org_name | Your organisation name. |
scope | List of scopes currently assigned to your application. |
{
"client_id": "<your client_id>",
"token_endpoint_auth_method": "tls_client_auth",
"tls_client_auth_dn": "<your DN value>",
"id_token_signed_response_alg": "PS256",
"request_object_signing_alg": "PS256",
"redirect_uris": [
"https://example.com/callback_url",
"https://example.com/another_callback_url"
],
"org_jwks_endpoint": "<your jwks_url>",
"org_name": "<your org_name>",
"scope": [
"openid",
"accounts",
"payments"
]
}