Test in the sandbox
The sandbox lets you test the OIDC flow with a sandbox World ID that has an Orb-level test credential, without visiting an Orb. Sandbox authentication does not establish that a real person is Orb-verified. To try World ID flows before you register an application, use the OAuth Playground with a sandbox World ID. The playground runs authentication, step-up, and device flows against the sandbox World IdP and shows what a relying party should validate. It also hosts MCP servers for your agent: one authenticates you through World ID and shows the ID token, and one shows the ID-JAG an app receives through Cross App Access.Set up your application
Use the sandbox environment for registration and authentication:
Sign in to the sandbox portal with Google and
register your application.
Configure your application with the registration’s credentials and the sandbox
discovery document. Production registrations, credentials, and World IDs are
separate. Keep sandbox account mappings separate from production, and store
validated identities as
(iss, sub).
Create a sandbox World ID
- Get access to the sandbox World ID app. Ask your World ID integration contact for access. On iOS, install the sandbox app from the TestFlight invitation. Confirm that it is the sandbox build.
- Create the test identity. In the sandbox app, open the middle World ID tab, choose Add proof of human, then Manual verify. Take a selfie or upload one from your camera roll and complete the prompted flow. The exact labels may vary by app version. This creates a sandbox World ID; you do not need an Orb appointment.
- Allow about one hour for issuance. The Human card can appear before the identity is ready. Authentication can fail during this wait, even though setup looks complete in the app.
- Authenticate through your application. Start a new authentication attempt using the sandbox World IdP and approve it with the sandbox app. Use the end-to-end checks below to validate the result in your backend.
Complete a real flow
- Use your registered application. Use the issuer, discovery, and credentials from the same environment. Check your registration before starting.
- Authenticate and validate. Connect your World ID through your browser or device flow. Confirm that your backend or auth server validates the ID token.
- Use the result in your application. For primary sign-in, create the application session and make an authenticated request as the expected account. For step-up or a human checkpoint, confirm that the protected operation stays blocked until your backend accepts the authentication and any permissions or action approval your policy requires. Then perform the operation.
- Check the final outcome. If the operation calls another service, confirm its result there. For example, verify payment settlement with the payment service before reporting the payment as complete.
Check failure paths
Check both the response shown to the user and your backend’s session, permission, or operation state. Use the existing OIDC validation rules and step-up procedure as the source of expected behavior.
Use local signed fixtures to exercise validation failures and application policy
without requiring a person for every test. Keep them isolated from live
credentials and execution. Verify real World ID proofs and complete flows
against World IdP with the end-to-end checks above.