OAuth

Authorize an OAuth client

Authorize the user to access the Cannoli API.

You must first make a request to the create_key_pair endpoint in order to obtain the read and write keys.

The write key must be sent in the state parameter to assign the created token to the previously requested key pair.

post/o/authorize/

Request

  • Base URL
    http://api.cannoli.app/api/v1
  • Auth
    none declared

Request body

allowboolean
redirect_uristring required
scopestring required
client_idstring required
statestring required
response_typestring required

Response

User login response

access_tokenstring required
expires_ininteger required
token_type'Bearer' required
scopestring required
refresh_tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.