mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-17 14:03:50 +02:00
Make the use of a user token configurable
This commit is contained in:
parent
2f27bd9e94
commit
27f2220a6e
4 changed files with 14 additions and 6 deletions
1
main.go
1
main.go
|
@ -68,6 +68,7 @@ func main() {
|
|||
OIDCTokenVerifier: verifier,
|
||||
PAATokenGenerator: security.GeneratePAAToken,
|
||||
UserTokenGenerator: security.GenerateUserToken,
|
||||
EnableUserToken: conf.Security.EnableUserToken,
|
||||
SessionKey: []byte(conf.Server.SessionKey),
|
||||
SessionEncryptionKey: []byte(conf.Server.SessionEncryptionKey),
|
||||
Hosts: conf.Server.Hosts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue