mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-25 09:33:28 +02:00
Add description on endpoint
This commit is contained in:
parent
22d796c5cf
commit
93c558786f
1 changed files with 9 additions and 0 deletions
|
@ -87,6 +87,7 @@ security:
|
|||
# make sure to share this amongst different pods
|
||||
PAATokenSigningKey: thisisasessionkeyreplacethisjetzt
|
||||
PAATokenEncryptionKey: thisisasessionkeyreplacethisjetzt
|
||||
UserTokenEncryptionKey: thisisasessionkeyreplacethisjetzt
|
||||
```
|
||||
## Testing locally
|
||||
A convenience docker-compose allows you to test the RDPGW locally. It uses [Keycloak](http://www.keycloak.org)
|
||||
|
@ -106,6 +107,14 @@ and RDP file will download to your desktop. This file can be opened by one
|
|||
of the remote desktop clients and it will try to connect to the gateway and
|
||||
desktop host behind it.
|
||||
|
||||
## Integration
|
||||
The gateway exposes an endpoint for the verification of user tokens at
|
||||
https://yourserver/tokeninfo . The query parameter is 'access_token' so
|
||||
you can just do a GET to https://yourserver/tokeninfo?access_token=<token> .
|
||||
It will return 200 OK with the decrypted token.
|
||||
|
||||
In this way you can integrate, for example, it with [pam-jwt](https://github.com/bolkedebruin/pam-jwt).
|
||||
|
||||
## TODO
|
||||
* Integrate Open Policy Agent
|
||||
* Integrate GOKRB5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue