Use jose v4 and make clearer and fix signing/encryption

This commit is contained in:
Bolke de Bruin
2024-04-12 12:33:46 +02:00
parent bc36b2b0cb
commit 9c6d056d69
4 changed files with 110 additions and 47 deletions

View File

@@ -299,6 +299,8 @@ Security:
# PAATokenEncryptionKey: thisisasessionkeyreplacethisjetzt
# a random string of 32 characters to secure cookies on the client
UserTokenEncryptionKey: thisisasessionkeyreplacethisjetzt
# Signing makes the token bigger and we are limited to 511 characters
# UserTokenSigningKey: thisisasessionkeyreplacethisjetzt
# if you want to enable token generation for the user
# if true the username will be set to a jwt with the username embedded into it
EnableUserToken: true