You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`service`|*(required)*| Service name: `'vercel'`, `'github'`, `'google'`, `'slack'`, `'apple'`, `'microsoft'`, or `'aws'`|
144
+
|`service`|*(required)*| Service name: `'vercel'`, `'github'`, `'google'`, `'slack'`, `'apple'`, `'microsoft'`, `'aws'`, or `'auth0'`|
145
145
|`port`|`4000`| Port for the HTTP server |
146
146
|`seed`| none | Inline seed data (same shape as YAML config) |
147
147
|`baseUrl`| none | Override advertised base URL. Per-service `baseUrl` in seed config takes highest priority, then this option, then `EMULATE_BASE_URL` env var (supports `{service}`), then `PORTLESS_URL` (supports `{service}`, automatically set by the `portless` CLI wrapper), then `http://localhost:<port>`. |
- `GET /api/v2/users`/ `POST /api/v2/users` - list and create users
741
+
- `GET /api/v2/roles`/ `POST /api/v2/roles` - list and create roles
742
+
- `GET /api/v2/applications`/ `POST /api/v2/applications` - list and create applications
743
+
- `GET /api/v2/organizations`/ `POST /api/v2/organizations` - list and create organizations
744
+
- `GET /api/v2/connections`/ `POST /api/v2/connections` - list and create connections
745
+
693
746
## Next.js Integration
694
747
695
748
Embed emulators directly in your Next.js app so they run on the same origin. This solves the Vercel preview deployment problem where OAuth callback URLs change with every deployment.
Authorization Code with PKCE is supported with both `plain` and `S256` code challenge methods. The token endpoint supports `authorization_code`, `refresh_token`, and `client_credentials`.
16
+
17
+
## Tenant URLs
18
+
19
+
Auth0 advertises tenant-aware URLs. With this config:
20
+
21
+
```yaml
22
+
auth0:
23
+
tenant: my-tenant
24
+
```
25
+
26
+
Discovery returns endpoints under:
27
+
28
+
```text
29
+
http://my-tenant.auth0.localhost:4012
30
+
```
31
+
32
+
For test environments that cannot route subdomains, call discovery with a tenant query parameter:
Copy file name to clipboardExpand all lines: apps/web/app/docs/page.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Getting Started
2
2
3
-
Local drop-in replacement for Vercel, GitHub, Google, Slack, Apple, Microsoft, AWS, Okta, MongoDB Atlas, Resend, and Stripe APIs. Built for CI and no-network sandboxes. Fully stateful, production-fidelity API emulation. Not mocks.
3
+
Local drop-in replacement for Vercel, GitHub, Google, Slack, Apple, Microsoft, AWS, Okta, MongoDB Atlas, Resend, Stripe, and Auth0 APIs. Built for CI and no-network sandboxes. Fully stateful, production-fidelity API emulation. Not mocks.
4
4
5
5
## Quick Start
6
6
@@ -21,6 +21,7 @@ All services start with sensible defaults. No config file needed:
0 commit comments