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.
- Instant deployment setup
- Collaboration and identity
- MIT
- Replaces Shared passwords for internal web reports
- Runs on
- Your own hardware or a Pilae Cloud region you choose
- Replaces
- Shared passwords for internal web reports
- Licence
- MIT
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.
All 4 requirements, and why each is there
- Identity providerRegistered OAuth or OIDC clientConfirm the provider integration, approved redirect URL and identity attributes available to the admission rule.
- ApplicationInternal HTTP serviceIdentify its owner and all legitimate entry points. Keep the origin reachable through the intended access boundary.
- Session storeCookie or RedisCompare cookie size and peak browser traffic with the availability requirements of a separate session database.
- 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
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.
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.
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 question | Cookie backend | Redis 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. |
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.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
- 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.
- 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.
- 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.
- 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
Engineers who answer for it
On Business and Enterprise, our engineers respond to incidents and take over when the agent needs a hand.
Your data stays where the contract says
On your own servers or in Pilae Cloud, in the region you choose, and your contract names each location.
Who handles your data, in writing
Your data processing agreement names every company that handles your data, and none is added without notice and a right to object.
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 plansOAuth2 Proxy: common questions
Does the proxy create a staff directory?
Can a reader also become a report editor?
Do we need Redis for the first deployment?
What should we prepare before deployment?
Talk to an engineer about your OAuth2 Proxy
Tell us about the deployment you already have, or the one you are about to start.
Compare plans and prices, or write to us with a question this page leaves open.
- Go deeperManaged open-source hosting and operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
- CompareCollaboration and identity appsFiles, documents, chat, and the single sign-on underneath them. One directory, one place to revoke an account.
- CheckChoose where your application data and backups liveChoose where live app data and logs reside. Your contract identifies the primary location and a second backup site in the same jurisdiction.
