Bank authorization
to authorize actions in DCM
Last updated
to authorize actions in DCM
Last updated
The Bank should implement a service authorizing DCM actions. JWT specifies "who" (subject) intends to do with "what" (object). The content of JWT must comply with the requirements (see JWT format).
May I use my own JWT?
Yes! You can use , but remember to share your public key with us.
The token format is described below.
It should be sent in the headerCX-Authorization
.
Please note we do not check any for requests with your own JWT: authorization is done on your side.
If the service found out that the subject is permitted to manipulate the object, a successful response (see details below) should be sent. Otherwise an HTTP 401 (Unauthorized) should be used.
All URIs are relative to main host.
GET
/user_auth
user data based on "obj"
Customer Login
GET
/key
user secret key
external id
GET
/external_id
authentication
external id
Request example:
Response example:
Attributes external_id
and key
are obligatory in response.
Request example:
Response example:
Request example:
Response example: