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,
|
||||
headers: {
|
||||
"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",
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue