Skip to main content

Login

Login credentials can be taken from Admin Panel as a user.

POSTMAN DOC URL;

https://www.postman.com/onlinekurum/workspace/delta-course-automation/request/3724027-d5195b3b-864a-4124-95e7-3795149c218c

Request

Path;

/api/o-auth2/login

Method: POST

Credentials are: user and secret

Response

Logged in;

{
"state": "true",
"bearer": "fb6f196e9e17d2b756cae6d63fae3394",
"refresh_token": "ac388e0e42589faee4e80f84461f495f",
"expires": 7200
}

invalid_client

{
"state": "false",
"error_description": "User is not registered\n",
"error": "invalid_client",
"error_uri": "/api/o-auth2/login"
}

TOKEN

Token expires at the end of the 2 hours.

Code Examples

It can be taken from: https://www.postman.com/onlinekurum/workspace/delta-course-automation/request/3724027-d5195b3b-864a-4124-95e7-3795149c218c?ctx=code