Skip to content

Commit

Permalink
docs: thread-safe example for refresh tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
melanger authored Nov 8, 2023
1 parent eb8061a commit b163735
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions example/oidcop_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,20 @@ config:
refresh:
kwargs:
lifetime: 86400
crypt_conf:
kwargs:
password: CHANGE_ME__password_used_to_encrypt_refresh_tokens
salt: 'CHANGE_ME salt involved in refresh token hash'
keys:
key_defs:
- type: OCT
use:
- enc
kid: password
- type: OCT
use:
- enc
kid: salt
token:
class: idpyoidc.server.token.jwt_token.JWTToken
kwargs:
Expand Down

0 comments on commit b163735

Please sign in to comment.