You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/kcp-dex/README.md
+38-1Lines changed: 38 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,9 @@ GOBIN=$(pwd)/bin go install github.com/mjudeikis/genkey
25
25
26
26
### KCP
27
27
28
-
Start kcp with oidc enabled:
28
+
Start kcp with oidc enabled, you can either use the OIDC flags or structured authentication configuration from a file. Example configuration is shown in `auth-config.yaml`.
29
+
30
+
## OIDC Flags
29
31
30
32
```bash
31
33
go run ./cmd/kcp start \
@@ -35,6 +37,41 @@ go run ./cmd/kcp start \
35
37
--oidc-ca-file=127.0.0.1.pem
36
38
```
37
39
40
+
## Structured Authentication Config
41
+
42
+
```bash
43
+
CA_CERT=$(openssl x509 -in 127.0.0.1.pem | sed 's/^/ /')
0 commit comments