add max age

This commit is contained in:
Henry Hiles 2025-08-18 14:14:30 -04:00
commit a48c2fcd42
No known key found for this signature in database

View file

@ -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",
}, },
); );
} }