Skip to content

Latest commit

 

History

History

proxy-auth-request

Proxy Auth Request

This schema represents the concept and not the exact architcture in the code.

Run

docker-compose up

Usage

The following apps are available:

Special case here: cookies can't be set for domain .localhost because it does not have at least 2 dots like a real domain. Therefore all the apps will be under .apps.localhost in this example.

Each app is protected by a request to the auth request server.

Auth request server could be anything that can respond 20x or 40x to subrequests. Here OAuth2-proxy uses an OpenID Connect authorization server to validate requests.

Since http://app2.apps.localhost is an OAuth2 client, it can use the same authorization server.

Screenshots