Next: , Previous: , Up: Server endpoints   [Contents][Index]

12.5 Reverse proxy

The (webid-oidc server endpoint reverse-proxy) module defines a reverse proxy, an endpoint that passes the incoming request to a backend server with added metadata.

Class: <reverse-proxy> (<endpoint>) backend-uri authentication-header

This endpoint will handle the incoming requests by adding a header, named authentication-header (a symbol), to hold the webid of the authentified user, and passing it to the server listening at backend-uri (an URI).

You can construct it with #:backend-uri and #:authentication-header.

Generic: backend-uri reverse-proxy

Return the URI where requests are passed.

Generic: authentication-header reverse-proxy

Return the header set by the reverse proxy to hold the authenticated webid.