fixing login checkin

This commit is contained in:
Warunee Tamkoo 2025-02-19 17:32:05 +07:00
parent 90a709e5fd
commit 7908473d1f

View file

@ -70,9 +70,10 @@ export class LoginController extends Controller {
client_id: "gettoken-checkin",
client_secret: process.env.KC_CHECKIN_SECRET,
grant_type: "password",
requested_token_type: "urn:ietf:params:oauth:token-type:refresh_token",
// requested_token_type: "urn:ietf:params:oauth:token-type:refresh_token",
username: body.username,
password: body.password,
scope: "offline_access",
};
let _data: any = null;
await Promise.all([