Skip to content

Commit

Permalink
[docs] Update number of days the login cookie is valid for (#3717)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaymankar authored Nov 15, 2023
1 parent b76ae2e commit e14fc4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/understand/api-client-perspective/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ POST /login?persist=false
Set-Cookie: zuid=(redacted); Path=/access; Domain=zinfra.io; HttpOnly; Secure
```

When you log in **with** `persist=true`, you get a persistent cookie,
which means it has *some* expiration date. In production this is
currently 56 days (again, configurable, check current config in
[hegemony](https://github.com/zinfra/hegemony)) and can be renewed
during token refresh. Example **persistent cookie**:
When you log in **with** `persist=true`, you get a persistent cookie, which
means it has *some* expiration date. In production this is currently 14 days
(again, configurable, check current config in [production
config](https://github.com/zinfra/cailleach/tree/master/targets/wire/prod/app))
and can be renewed during token refresh. Example **persistent cookie**:

```
POST /login?persist=true
Expand Down

0 comments on commit e14fc4b

Please sign in to comment.