fixing login checkin
This commit is contained in:
parent
90a709e5fd
commit
7908473d1f
1 changed files with 2 additions and 1 deletions
|
|
@ -70,9 +70,10 @@ export class LoginController extends Controller {
|
||||||
client_id: "gettoken-checkin",
|
client_id: "gettoken-checkin",
|
||||||
client_secret: process.env.KC_CHECKIN_SECRET,
|
client_secret: process.env.KC_CHECKIN_SECRET,
|
||||||
grant_type: "password",
|
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,
|
username: body.username,
|
||||||
password: body.password,
|
password: body.password,
|
||||||
|
scope: "offline_access",
|
||||||
};
|
};
|
||||||
let _data: any = null;
|
let _data: any = null;
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue