Skip to content

Commit

Permalink
Update documentation and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
giftkugel committed Aug 28, 2024
1 parent d54d551 commit e7dd8bb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
4 changes: 4 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ users:
- username: foo
password: 695e6f39f5ffd36ae60e0ade727c892d725531455a19c6035cb739d099e8f20e63d3fdfd3241888e38de1d8db85532dd65f817b12fe33ac7cdcc358ef6c8ea23
salt: moo
roles:
testclient:
- foo_role
- bar_role
profile:
givenName: John
familyName: Doe
Expand Down
24 changes: 19 additions & 5 deletions website/docs/introduction/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ To be able to use it, the referenced `server.crt` and `server.key` must be creat

```yaml
server:
#logLevel: error
# logLevel: debug
cookies:
authName: stopnik_auth
messageName: stopnik_message
#logoutRedirect: http://localhost:8080
secret: WRYldij9ebtDZ5VJSsxNAfCZ
privateKey: ./test_keys/rsa256key.pem
addr: :8080
addr: :8082
tls:
addr: :8081
keys:
Expand All @@ -180,9 +180,13 @@ clients:
salt: 123
accessTTL: 5
refreshTTL: 15
type: confidential
idTTL: 15
oidc: true
introspect: true
redirects:
- https://oauth.pstmn.io/v1/callback
- http://localhost:8080/session/callback
- http://localhost:5173/reporting/oidc-callback*
claims:
- name: foo
value: bar
Expand All @@ -192,20 +196,30 @@ clients:
accessTTL: 5
refreshTTL: 15
opaqueToken: true
type: confidential
redirects:
- https://oauth.pstmn.io/v1/callback
- id: testclient3
clientSecret: 1efcbc37f7d7e2f9f8cf009b91c95b2b7b913b89d36a21a05da1e3cb396ed1ab0e596e2b649e9407367e40d852ac4d0abfcfc1c4227eb661385e9f2e0f3203ca
salt: 321
accessTTL: 5
refreshTTL: 15
type: confidential
privateKey: ./test_keys/ecdsa521key.pem
redirects:
- https://oauth.pstmn.io/v1/callback
users:
- username: foo
password: 695e6f39f5ffd36ae60e0ade727c892d725531455a19c6035cb739d099e8f20e63d3fdfd3241888e38de1d8db85532dd65f817b12fe33ac7cdcc358ef6c8ea23
salt: moo
roles:
testclient:
- foo_role
- bar_role
profile:
givenName: John
familyName: Doe
address:
street: Mainstreet 1
city: Sometown
postalCode: 12345
country: Boom
```

0 comments on commit e7dd8bb

Please sign in to comment.