Deploy OAuth2 Proxy

Give employees access to an internal web service through their existing identity provider, with an admission policy for each protected service.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Shared passwords for internal web reports
Licence
MIT
RevokedFilesFilesDocsDocsCallsCallsChatChat

OAuth2 Proxy among the collaboration and identity apps

Files, documents, chat, and the single sign-on underneath them. One directory, one place to revoke an account.

OAuth2 Proxy system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshsign-inencrypted tunnelencrypted, offsiteOAuth2 Proxypinned, patched, watched02ApplicationInternal HTTP service03Session storeCookie or Redis04SecretsClient credential andcookie secretYour teamthe people you allowYour identityproviderRegistered OAuth orOIDC client01Pilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshsign-intunnelencryptedOAuth2 Proxypinned, patched, watched02ApplicationInternal HTTP service03Session storeCookie or Redis04SecretsClient credential andcookie secretYour teamthe people you allowYour sign-inRegistered OAuthor OIDC client01Pilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs OAuth2 Proxy and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. Identity providerRegistered OAuth or OIDC clientConfirm the provider integration, approved redirect URL and identity attributes available to the admission rule.
  2. ApplicationInternal HTTP serviceIdentify its owner and all legitimate entry points. Keep the origin reachable through the intended access boundary.
  3. Session storeCookie or RedisCompare cookie size and peak browser traffic with the availability requirements of a separate session database.
  4. SecretsClient credential and cookie secretDefine who can recover or replace these values and what a change means for active readers.

Running OAuth2 Proxy in production: what it takes

  1. Check a complete sign-in

    Open a saved link to a report with an assigned test account. Verify the return destination and confirm that the application records the identity it needs for its own audit.

  2. Rehearse a membership change

    Remove an assignment from a test identity. Record the effect on an active browser session and on a new login. Compare the observed delay with the offboarding window.

  3. Test session recovery

    In a pilot environment, rehearse a proxy restart and the chosen session store’s failure procedure. Confirm an authorised reader can sign in again and that restricted reports stay restricted throughout.

Deployment reference

Where a reader’s session lives

Design questionCookie backendRedis backend
Where is session state held?In a signed and encrypted browser cookie.In Redis with a ticket in the browser.
What crosses the gateway on each request?The cookie carrying session data.A shorter cookie identifying the stored session.
What should the pilot exercise?The largest expected session against gateway header limits.Reader behaviour when the session store is unavailable.
The OAuth2 Proxy Session Storage reference describes two backends. Use these three checks to choose one for the reporting service.

Migrating from Shared passwords for internal web reports to OAuth2 Proxy

A shared password for a reporting site leaves little evidence about which colleagues still need the site. Reconstruct its audience with the report owner. Separate browser readers from scheduled report consumers, then give each group its own acceptance test.

Moving from Shared passwords for internal web reports to OAuth2 Proxy, step by step

  1. Register a pilot audience: Reconcile the report owner’s list with current staff accounts. Record the intended business role of each pilot user and agree on an owner for future membership changes.
  2. Test the reader journey: Start two clean browser sessions with designated test accounts. One assigned reader should land back on the requested report after signing in. One unassigned employee should be denied.
  3. Check unattended consumers: Ask the owner of each scheduled export to rehearse a delivery through its approved access path. Check the file format and row count with the receiving system so a sign-in page cannot be mistaken for a report.
  4. Change the published entry point: Keep the previous protected route configuration and agree who can restore it. If the cutover interrupts a critical report, restore that configuration, confirm the authorised audience and reconcile missed deliveries before resuming the schedule.

What OAuth2 Proxy is, and who runs it

Put employee sign-in in front of one report

A finance team publishes a daily exceptions report from an application that already calculates the correct numbers. The change the owner wants is narrower than rewriting it. Each reader should use a staff account, and the owner should know who approves readership. OAuth2 Proxy sits in the request path and delegates sign-in to an identity provider such as Keycloak. The application still decides who may amend an exception or download the underlying records. Check those actions separately from opening the report. Project architecture

An ordinary reader may see one group while an employee covering several regions carries many. Include both accounts in the pilot. The default backend carries the session in the browser cookie on each request. With Redis, the browser carries a ticket and the proxy retrieves the stored session. Size the gateway and select the session lifetime against the identity provider’s token policy. Session storage reference

Read the full briefFold the brief

For an identity integration review, bring one bookmarked report, one automated export and the access decisions their owners expect. Upstream distributes the proxy under the MIT licence. Include its notices when redistributing the software. Project licence

If the application estate includes legacy tools with shared gateway passwords, compare the Authelia migration and test how each tool identifies the person behind the proxy.

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

OAuth2 Proxy runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

OAuth2 Proxy: common questions

Does the proxy create a staff directory?

Employees use the chosen identity provider. The proxy checks the returned identity against its configured admission policy. Assign responsibility for group membership to the directory owner.

Can a reader also become a report editor?

Editing rights belong to the reporting service. Test the service’s own role checks and confirm that its audit trail identifies the individual making a change.

Do we need Redis for the first deployment?

Cookie-backed sessions are the default. Evaluate Redis when session size or token handling makes a ticket preferable, and include the additional service in availability planning.

What should we prepare before deployment?

Include the provider, application URLs, intended groups, browser and automated workflows, expected session duration and the current process for removing access.

Talk to an engineer about your OAuth2 Proxy

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.