Oauth2 Access Token

Request oauth2 access token

Facilitates the acquisition of an OAuth2 access token. It requires either a basic authorization header or a client_id provided in the request body.

post/zephr/oauth2/token

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/oauth2/token
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Query parameters

client_idstring
Example:client_id=1234567890

The Zephr site's Oauth2 client ID.

Headers

authorizationstring

Encoded basic authorisation header that includes Zephr Site Oauth2 Client ID.

Response

OK

access_tokenstring

Oauth2 access token

token_typestring
expires_innumber

Oauth2 token expiry time in seconds

refresh_tokenstring

Oauth2 refresh token to reuest a new Oauth2 token

user_idstring

Authenticated user ID

Changes

No recorded changes to this operation across all 2 revisions of this API.