Hi
The example in JSON Session instruction currently mentions that Max-Age and Expires attributes are ignored, and also mentions that it SHOULD match attributes used in Set-Cookie.
"attributes": "Domain=example.com; Path=/; Secure; HttpOnly; SameSite=None"
// Attributes Max-Age and Expires are ignored
However, on using Max-Age in Set-Cookie and in json session credentials, registration fails with code 70 kInvalidCredentialsCookieUnpermittedAttribute (possibly due to restricting attributes to only contain domain, path, secure, httponly and samesite in https://source.chromium.org/chromium/chromium/src/+/main:net/device_bound_sessions/cookie_craving.cc;l=128).
Using Max-Age in Set-Cookie but not in the credentials results in successful session registration.
What is the expected usage of max-age? Should it be set only on Set-cookie and not added in credentials? If so, can we update the spec to mention that only these attributes are permitted in the credentials section?
Let me know if any other info is required.
Thanks!