Skip to content
Snippets Groups Projects
Commit 93c55878 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

Add description on endpoint

parent 22d796c5
Branches
Tags
No related merge requests found
...@@ -87,6 +87,7 @@ security: ...@@ -87,6 +87,7 @@ security:
# make sure to share this amongst different pods # make sure to share this amongst different pods
PAATokenSigningKey: thisisasessionkeyreplacethisjetzt PAATokenSigningKey: thisisasessionkeyreplacethisjetzt
PAATokenEncryptionKey: thisisasessionkeyreplacethisjetzt PAATokenEncryptionKey: thisisasessionkeyreplacethisjetzt
UserTokenEncryptionKey: thisisasessionkeyreplacethisjetzt
``` ```
## Testing locally ## Testing locally
A convenience docker-compose allows you to test the RDPGW locally. It uses [Keycloak](http://www.keycloak.org) 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 ...@@ -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 of the remote desktop clients and it will try to connect to the gateway and
desktop host behind it. 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 ## TODO
* Integrate Open Policy Agent * Integrate Open Policy Agent
* Integrate GOKRB5 * Integrate GOKRB5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment