Public API reference
/v4 API
//
Grant the access request
The resource owner will consent or deny the third party application access request, and Zephr will return an authorization code upon user's consent.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Client's redirection endpoint. Must be an absolute URI
Example:"https://someUrl.com/callback"
The scope of the access request. Supported scopes: user.account:read, user.profile:read and user.profile:update
Example:"user.account:read user.profile:read"
An opaque value used by the client to maintain state between the request and callback
Example:"abcdefghijklmnopqrstuvwsyz"
- https://demo-sitehttps://demo-site/zephr/oauth2/grant
{ "client_id": "1234567890", "response_type": "code", "redirect_uri": "https://someUrl.com/callback", "scope": "user.account:read user.profile:read", "state": "abcdefghijklmnopqrstuvwsyz", "allow": true }
Response
{
"state": "string",
"code": "string"
}