Guides Integration

Initiate An Authorization

To initialize an authorization, you must redirect users to AgeWallet. The information you pass in your request will initiate an age verification session which will be exchanged for a token in a future step.

GEThttps://app.agewallet.io/user/authorize

Parameters

ParameterRequiredPurpose
client_idYesYour assigned Client ID.
redirect_uriYesYour callback URL (must match registration exactly).
response_typeYesAlways code.
scopeYesMust be openid age.
stateYesA random, unpredictable string for CSRF protection.
nonceYesA random string to mitigate replay attacks.
code_challengeYesThe PKCE challenge derived from your code_verifier.
code_challenge_methodYesMust be S256.
metadataOptionalOpaque per-verification string (max 4096 UTF-8 bytes). Round-trips through /userinfo. See Pass-through Metadata.

After Authorization

After successful login, the user is redirected back to your redirect_uri with an authorization code and the state you provided:

https://yourapp.com/callback?code=AUTH_CODE_HERE&state=YOUR_ORIGINAL_STATE&client_id=YOUR_CLIENT_ID

Last updated July 28, 2026

Was this page helpful?