Authentication
The initial step that needs to be configured is the authentication flow. See the sample example how this can be configured. Links to more detailed instructions can be found at the end of the article.
Last updated
Was this helpful?
The initial step that needs to be configured is the authentication flow. See the sample example how this can be configured. Links to more detailed instructions can be found at the end of the article.
Last updated
Was this helpful?
POST /api/admin/login_check HTTP/1.1
Host: openloyalty.localhost
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"username": "admin",
"password": "password"
}{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6...",
"refresh_token": "0558f8bb29948c4e54c443f..."
}POST /api/token/refresh HTTP/1.1
Host: openloyalty.localhost
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"refresh_token": "0558f8bb29948c4e54c443f..."
}{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6...",
"refresh_token": "0558f8bb29948c4e54c443f..."
}