OIDCClientCookieSettings
Cookie settings
Properties
expires?
optionalexpires:number
Session expiration (ms)
- If not set, same as data expiration.
- If set to
0, it becomes session cookie.
Defined in
httpOnly
httpOnly:
boolean
httpOnly flag
Default
trueDefined in
path
path:
string
path
Default
"/"Defined in
sameSite
sameSite:
boolean|"strict"|"none"|"lax"
sameSite flag
- If
baseUrlandissueUrlare from the same domain, it can be set tostrict
Default
"lax"Defined in
secure
secure:
boolean
secure flag
Default
trueDefined in
sessionIdName
sessionIdName:
string
Neme for session id
- Add type definition manually
- e.g.
t.Cookie({ "__Host-sid": t.Optional(t.String()) })
- e.g.
Default
"__Host-sid"See
Search for Cookie Name Prefixes in RFX6265bis