bolkedebruin/rdpgw

Question regarding validity duration of generated Remote Desktop configurations

pierre42100 opened this issue · 0 comments

Hello,

Thank you for your great and helpful project.

In cmd/rdpggw/security/jwt.go, the duration of the JWT that authenticates the Remote Desktop configurations is hard coded:

Expiry:  jwt.NewNumericDate(time.Now().Add(time.Minute * 5)),

Would it be possible to make this parameter configurable to obtain Remote Desktop configurations that last longer (like one or two hours for example) ?

Thank you again for your great project!