Skip to content

Commit 57c744e

Browse files
committed
doc
1 parent ce37ce6 commit 57c744e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ CADENCE_GRPC_SERVICES_NAMES=cadence-frontend-cluster0,cadence-frontend-cluster1
3535
CADENCE_CLUSTERS_NAMES=cluster0,cluster1
3636
```
3737

38+
#### RBAC Authentication (JWT cookie)
39+
40+
When `CADENCE_WEB_RBAC_ENABLED=true`, cadence-web authenticates using a cookie:
41+
42+
- Cookie name: `cadence-authorization`
43+
- Cookie value: raw JWT string
44+
45+
To integrate an upstream proxy / IdP, set the cookie for the cadence-web origin:
46+
47+
```
48+
Set-Cookie: cadence-authorization=<JWT>; Path=/; HttpOnly; SameSite=Lax; Secure
49+
```
50+
You can also set/clear the cookie via `POST /api/auth/token` and `DELETE /api/auth/token`; or use `Login with JWT` button in the UI.
51+
3852
#### Feature flags
3953

4054
Feature flags control various UI features and functionality in `cadence-web`. These can be configured using environment variables.

0 commit comments

Comments
 (0)