# token-rp **Repository Path**: mirrors_jimmidyson/token-rp ## Basic Information - **Project Name**: token-rp - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Token Replacing Reverse Proxy [![CircleCI branch](https://img.shields.io/circleci/project/github/syndesisio/token-rp/master.svg)](https://circleci.com/gh/syndesisio/token-rp) [![license](https://img.shields.io/github/license/syndesisio/token-rp.svg)](https://raw.githubusercontent.com/syndesisio/token-rp/master/LICENSE) [![Docker Automated buil](https://img.shields.io/docker/automated/syndesis/token-rp.svg)](https://hub.docker.com/r/syndesis/token-rp/) This repo contains a very simple reverse proxy that validates a JWT, uses that JWT to retrieve a token for an identity provider from Keycloak and sends requests to specified target using that retrieved token. ## Usage ```plain Usage of token-rp: -ca-cert value Extra root certificate(s) that clients use when verifying server certificates -client-id string OpenID Connect client ID to verify -insecure-skip-verify If insecureSkipVerify is true, TLS accepts any certificate presented by the server and any host name in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks. This should be used only for testing. -issuer-url value URL to OpenID Connect discovery document -provider-alias string Keycloak provider alias to replace authorization token with -provider-type string Type of Keycloak IDP (currently supports openshift and github only) -proxy-url value URL to proxy requests to -tls-cert string Path to PEM-encoded certificate to use to serve over TLS -tls-key string Path to PEM-encoded key to use to serve over TLS -version Output version and exit ``` ## Building ```bash # Clone repo $ git clone git://github.com/syndesisio/token-rp.git # Build binary $ make build # Run tests $ make test # Build image $ make image ```