Password Protection with OAuth2 Proxy
Putting oauth2-proxy in front of a Render Private Service adds OAuth-based login (Google, GitHub and a dozen other providers) to an existing web app without touching its code. The proxy runs the OAuth 2.0 flow, verifies the returned token out-of-band with the provider using a client ID and secret, then forwards authenticated requests to the backend service, which must not be publicly reachable. Authorization can be limited to members of a Google Group, GitHub org or GitLab project, or the username can be passed to the backend for its own checks. The tradeoff is running and paying for an extra service and dealing with OAuth configuration. Pomerium and BuzzFeed's sso are alternatives.
Related posts
- Managed Better Auth is now an OAuth provider, with MCP support
Neon mediumAdept
Neon's Managed Better Auth now supports the OAuth Provider plugin, turning an auth instance into an OAuth 2.1 authorization server that both companion apps and MCP clients can use to sign users in. Neon runs the discovery endpoints, JWKS, token issuance and refresh, and client onboarding via Client ID Metadata Documents or optional dynamic registration. You host the login and consent pages and the resource server, where the new @neon/oauth SDK checks token signature, issuer and audience, with adapters for Express, Hono, Next.js and node:http. OAuth configuration is per branch, and each branch gets its own issuer while sharing signing keys, so preview-branch tokens are rejected by production verifiers that pin the issuer.
- Securing internal web apps
Figma mediumAdept
Figma secures internal web apps by putting each behind an AWS Application Load Balancer that authenticates users through Okta via SAML, using a Cognito User Pool as the bridge. Terraform modules provision the setup. Okta sign-in rules enforce WebAuthn and device trust, and the ALB provides managed patching, desync mitigation, WAF and per-app session timeouts. For fine-grained authorization, Okta group memberships flow through the SAML assertion into Cognito's profile attribute and reach the app in the signed x-amzn-oidc-data JWT. The post gives step-by-step verification guidance (kid/region validation, alg checks, manual expiry, issuer checks) and recommends permission-specific groups assigned via Okta Group Rules instead of team-based checks.
- Use One-Click Deploys for Secure Online VS Code
Render mediumAdept
OpenVSCode Server can be deployed on Render by forking Gitpod's repo, adding a minimal Dockerfile that pulls the published image, and defining a persistent disk mount in a render.yaml Blueprint. Once render.yaml exists, a single line of markdown in the README creates a Deploy to Render button for one-click deploys. Securing the browser IDE means adding OAuth2-Proxy in the same Blueprint, with `sync: false` keys so users enter their own secrets in the dashboard at deploy time rather than committing them.
- How we built Render OIDC
Render mediumAdept
Render issues per-service OIDC tokens so workloads can authenticate to AWS, GCP, OpenAI and Anthropic without long-lived API keys. Tokens expire after 60 minutes as a tradeoff between leak exposure and tolerance for issuer outages. Per-workspace issuer URLs protect against providers misconfigured to skip subject checks, and per-provider audience claims block token replay across providers. Because SDKs mostly expect a token file, an external OIDC Daemon writes and refreshes tokens into a read-only bind mount backed by /dev/shm, and Render sets provider-specific env vars such as AWS_WEB_IDENTITY_TOKEN_FILE.
- Building a Modular Portal with Webpack Module Federation
Zalando Engineering mediumAdeptZalando's logistics transport teams built an internal portal from independently deployed micro frontends using Webpack Module Federation, so five teams could ship new and legacy apps without redeploying the host. A central backend proxy handles authentication and OPA-style authorisation, returns the list of apps each user may access, and the portal fetches each app's manifest (menu items, permissions, remoteEntry bundle path) to lazy-load it on route activation. Version conflicts are handled by sharing singletons like React and lodash, and cross-app communication goes through a single prop interface for session data, logout, navigation and error reporting. The portal now hosts 11 apps from 4 teams, with a shared npm UI-kit keeping the design consistent.