Register your OAuth client
POST
/oauth/registerSend the exact approved hosted callback URL, or a loopback callback for local development. The issuer accepts one to ten supported callback URLs. A confidential client receives its secret at registration.
Authentication Public endpoint.
Request body
application/json
redirect_urisarray of string · uri · requiredclient_namestring · max length 80token_endpoint_auth_methodnone | client_secret_post | client_secret_basicgrant_typesarray of authorization_code | refresh_token
Example
{
"redirect_uris": [
"http://127.0.0.1:8040/callback"
],
"client_name": "Field Operations",
"token_endpoint_auth_method": "none",
"grant_types": [
"authorization_code",
"refresh_token"
]
}Responses
201 · Registered client
application/json
client_idstring · requiredclient_secretstringclient_secret_expires_atintegerclient_id_issued_atinteger · requiredclient_namestringredirect_urisarray of string · uri · requiredgrant_typesarray of string · requiredresponse_typesarray of string · requiredtoken_endpoint_auth_methodnone | client_secret_post | client_secret_basic · required
400 · OAuth error
application/json
errorstring · requirederror_descriptionstring
429 · OAuth error
application/json
errorstring · requirederror_descriptionstring
