API Specs
OAuth2
Initiates the authorization flow. Verifies client_id, redirect_uri, and optional state. If valid, redirects to the consent/verification page with a auth_request_id for further processing. Partner can then exchange the authorization code for an access token.
Space-separated list of scopes. Must include "openid" for OpenID Connect authentication. Use "offline_access" to request refresh tokens.
openid offline_accessPattern: ^openid( offline_access)?$Redirects to consent or palm verification UI
API Error
API Error
GET /oauth2/authorize?response_type=code&client_id=text&redirect_uri=https%3A%2F%2Fexample.com&scope=text HTTP/1.1
Host: api.very.org
Accept: */*
No content
After successful palm verification, exchanges an authorization code for the corresponding external_user_id.
OAuth 2.0 / OIDC grant type
Authorization code (required for authorization_code grant)
Refresh token (required for refresh_token grant)
Redirect URI (required for authorization_code grant)
Token response with external user ID
API Error
API Error
API Error
POST /oauth2/token HTTP/1.1
Host: api.very.org
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 151
"grant_type='authorization_code'&client_id='text'&client_secret='text'&code='text'&refresh_token='text'&redirect_uri='https://example.com'"{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2Nvbm5lY3QudmVyb3MueHl6Iiwic3ViIjoidnUtMTIzNDUiLCJhdWQiOlsiY2xpZW50LWlkLTEyMyJdLCJleHAiOjE2OTk5OTk5OTksImlhdCI6MTY5OTk5NjM5OX0.signature",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "openid offline_access",
"id_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2Nvbm5lY3QudmVyb3MueHl6Iiwic3ViIjoidnUtMTIzNDUiLCJhdWQiOlsiY2xpZW50LWlkLTEyMyJdLCJleHAiOjE2OTk5OTk5OTksImlhdCI6MTY5OTk5NjM5OSwibm9uY2UiOiJhYmMxMjMifQ.signature",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2Nvbm5lY3QudmVyb3MueHl6Iiwic3ViIjoidnUtMTIzNDUiLCJ0b2tlbl90eXBlIjoicmVmcmVzaF90b2tlbiJ9.signature",
"refresh_token_expires_in": 7776000
}Standard OIDC UserInfo endpoint.
Returns claims about the subject (sub) represented by the Bearer Access Token presented in the Authorization header.
• Requires scope=openid.
• Only returns claims the user originally consented to (e.g., email, picture)—never private biometric templates.
User claims
API Error
API Error
API Error
GET /oauth2/userinfo HTTP/1.1
Host: api.very.org
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"sub": "text"
}Last updated
Was this helpful?