For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrations

Serverless API Gateway integrations for authentication, proxying, and service bindings. Connect Auth0, Supabase, HTTP backends, and Cloudflare services.

The Serverless API Gateway provides built-in integrations that handle authentication flows, request proxying, and service bindings with minimal configuration. Each integration is specified in the paths[].integration.type field of your api-config.json.

For general authentication setup, see the Authentication Guide. For JWT-based authorization, see Authorizer.

Authentication Integrations

Auth0

OAuth 2.0 / OpenID Connect integration with Auth0. Supports login redirect, callback handling, token exchange, and user profile retrieval.

Supabase OTP

Passwordless authentication via Supabase. Supports email OTP, phone OTP (SMS), and magic links.

Integration Type Reference

The paths[].integration.type field supports the following values:

Proxy and Service Integrations

Type
Description

http

Forward the request to an external HTTP endpoint and return the response

http_proxy

Proxy the request to an external HTTP endpoint, preserving headers and path

service

Call an internal service endpoint

service_binding

Auth0 Integrations

Type
Description

auth0_callback

Handle the OAuth callback from Auth0, exchanging the authorization code for tokens

auth0_callback_redirect

Redirect the user to the Auth0 login page to initiate authentication

auth0_userinfo

Retrieve the authenticated user's profile from Auth0's /userinfo endpoint

auth0_refresh

Refresh an expired Auth0 access token using a refresh token

Supabase Integrations

Type
Description

supabase_passwordless_auth

Send a one-time password (OTP) to an email address or phone number via Supabase

supabase_passwordless_verify

Verify the OTP and return JWT access and refresh tokens

supabase_passwordless_auth_alt

Alternative passwordless auth endpoint for custom configurations

Last updated