Skip to content

Commit

Permalink
Add missing commas to JSON configuration object
Browse files Browse the repository at this point in the history
Add missing commas to JSON admin_gui_session_conf configuration object and removal of unnecessary </strong> html tag
  • Loading branch information
denissignoretto authored and mheap committed May 12, 2022
1 parent 331b195 commit 68a340e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/gateway/2.8.x/configure/auth/kong-manager/sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The following properties must be altered depending on the protocol and domains i
* If using different domains for the Admin API and Kong Manager: `"cookie_samesite": "off"`

{:.important}
> **Important:** </strong>Sessions are not invalidated when a user logs out if `"storage": "cookie"` (the default) is used. In that case, the cookie is deleted client-side. Only when session data is stored server-side with `"storage": "kong"` set is the session actively invalidated.
> **Important:** Sessions are not invalidated when a user logs out if `"storage": "cookie"` (the default) is used. In that case, the cookie is deleted client-side. Only when session data is stored server-side with `"storage": "kong"` set is the session actively invalidated.

## Example Configurations
Expand All @@ -84,8 +84,8 @@ the following configuration could be used for Basic Auth:
enforce_rbac = on
admin_gui_auth = basic-auth
admin_gui_session_conf = {
"cookie_name":"$4m04$"
"secret":"change-this-secret"
"cookie_name":"$4m04$",
"secret":"change-this-secret",
"storage":"kong"
}
```
Expand All @@ -96,9 +96,9 @@ In testing, if using HTTP, the following configuration could be used instead:
enforce_rbac = on
admin_gui_auth = basic-auth
admin_gui_session_conf = {
"cookie_name":"04tm34l"
"secret":"change-this-secret"
"storage":"kong"
"cookie_name":"04tm34l",
"secret":"change-this-secret",
"storage":"kong",
"cookie_secure":false
}
```

0 comments on commit 68a340e

Please sign in to comment.