Authentification
How to log in to the system with an employee credentials
Last updated
How to log in to the system with an employee credentials
Last updated
In order to work with DCM you should log in to the system.
If you use you don't need to do authentication via API.
The purpose of authentication is to restrict access to crypto-identifications and account information only to those who are explicitly allowed to do so.
Please use the following URL host for authentication:
api.{your_alias}.integrate
Precondition: The employee should be registered (see function ).
Create Log-in Flow
Log in
In the body of the request, you should fill in the user's parameters (e-mail, password) that you have filled in at registration.
It is important that body is sent via x-www-form-urlencoded
format.
Example:
In case of a successful response in the response body you will get the parameter session_token.
A session token
must be sent in the HTTP Authorization Header for all other API requests (not applicable when is used):
This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on.
In the response you will get flow_id
that will be used during the logging in on the next step.
Use this endpoint to complete a login flow.
The Login Flow ID
The value for this parameter comes from flow
URL Query parameter sent to your
application (e.g. /login?flow=abcde
).
HTTP Cookies
When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.