bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
698 stars 115 forks source link

How can insert user credential (pwd) in RDP Gateway #36

Open sadekyo1712 opened 2 years ago

sadekyo1712 commented 2 years ago

Hi, I love this project and it can run like i expect. But i have a situation that, after user can rdp to server by using their rdp client. They have to input pwd manually to login. If i have a user credential, so can i inject it to rdp server from RDP gateway ?

bolkedebruin commented 2 years ago

You will need something like this for that:

https://github.com/bolkedebruin/pam-jwt

sadekyo1712 commented 2 years ago

@bolkedebruin Thank so much for your answer,

But if user use RDP, how can it take the token to verify ? p/s: In linux, maybe xrdp can use pam to authenticate, but i dont know which step it can take the access token ?