Albauth

•

Enables models to securely access HTTP APIs protected by AWS ALB's authenticate-oidc rule after a single browser-based login.

Albauth addresses the challenge of enabling AI models or MCP clients to interact with HTTP APIs secured by AWS Application Load Balancers using `authenticate-oidc` rules. Standard MCP clients struggle with the browser-based OIDC redirect flow required to obtain the necessary `AWSELBAuthSessionCookie`. Albauth solves this by transparently handling the initial browser login, extracting the session cookie, and then automatically injecting it into subsequent model-initiated HTTP requests, effectively making the API access feel unauthenticated to the model after the initial user login. It stores session cookies securely in your OS keychain and offers features like silent re-login and opt-in write permissions.

Key Features

01Single browser-based login per domain with silent re-login for expired sessions
02Headless mode support for cookie import in CI/remote environments
03Transparent OIDC authentication for models via AWS ALB
04Method-based access control (e.g., GET-only by default)
050 GitHub stars
06Secure storage of session cookies in the OS keychain

Use Cases

01Enabling AI models (e.g., Claude) to access internal APIs secured by AWS ALB OIDC
02Providing secure, authenticated HTTP access for automated scripts or remote development environments
03Simplifying API integration for tools that cannot perform complex browser-based authentication flows