add max age
This commit is contained in:
parent
ff95c70961
commit
a48c2fcd42
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ class ApiHelper {
|
||||||
redirectUri,
|
redirectUri,
|
||||||
headers: {
|
headers: {
|
||||||
"set-cookie":
|
"set-cookie":
|
||||||
"id_token=${json.decode(await tokenRes.readAsString())["id_token"]}; Path=/; Secure; HttpOnly; SameSite=Lax; Domain=.${ref.watch(SettingsController.provider)!.serviceDomain}",
|
"id_token=${json.decode(await tokenRes.readAsString())["id_token"]}; Path=/; Secure; HttpOnly; SameSite=Lax; Domain=.${ref.watch(SettingsController.provider)!.serviceDomain}; Max-Age=604800",
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ class ApiHelper {
|
||||||
"name": name,
|
"name": name,
|
||||||
"first_name": name,
|
"first_name": name,
|
||||||
"last_name": "",
|
"last_name": "",
|
||||||
"nickname": name,
|
"nickname": name,
|
||||||
}),
|
}),
|
||||||
headers: {"Content-Type": "application/json"},
|
headers: {"Content-Type": "application/json"},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue