Skip to content
All projects

Fair Source · Self-hosted

Panda OAuth Gateway

One gateway. Secure access.

Add Google sign-in to web apps and OAuth to remote MCP servers, with per-route tool access on a self-hosted gateway.

Browser sign-in and MCP authorization through the same gateway. Select the diagram to enlarge it.

Where it fits

Put Google sign-in in front of an internal app

Protect a dashboard or a team workspace with a browser route and an email allowlist. If the app needs to know who signed in, the gateway can forward a signed identity token. Panda Tasker documents this setup for shared workspaces.

Browser sign-in guide

Give an AI assistant access to a remote MCP server

Let the user sign in and approve access to one MCP resource. The gateway issues a token for that resource and can hide selected tools from discovery and block calls to them on the route.

MCP OAuth guide

What happens to a request

  1. Find the route. Match the incoming hostname and the most specific path prefix to choose the upstream and its policy.
  2. Check access. Validate the browser session or MCP token, check the route’s email allowlist and apply tool policy to MCP calls.
  3. Forward to the service. Remove the gateway’s session cookie or access token. If configured, add a signed identity token that the upstream can verify.

From a local demo to a shared deployment

Try the Docker demo

Run the gateway, Valkey and a demo application. Configure a Google OAuth web client to test browser sign-in, or follow the guide to inspect MCP discovery.

Run the quick start

Deploy with Helm

Use the Kubernetes chart to configure gateway replicas and Valkey. Set up HTTPS ingress and keep upstream services reachable only through the gateway.

Read the Helm deployment guide

License

The source is available under the Functional Source License 1.1. You can use, modify and self-host it for internal work and other permitted purposes. Competing commercial use requires a separate license. Each release becomes available under Apache 2.0 two years after its release.