Dynamic Client Registration
curl --request POST \
--url https://api.headlesscommerce.io/v1/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"token_endpoint_auth_method": "none",
"scope": "<string>",
"logo_uri": "<string>",
"client_uri": "<string>"
}
'{
"client_id": "<string>",
"client_secret": "<string>",
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"grant_types": [
"<string>"
],
"token_endpoint_auth_method": "<string>",
"scope": "<string>",
"logo_uri": "<string>",
"client_uri": "<string>"
}OAuth 2.1
Dynamic Client Registration
Register an OAuth client dynamically per RFC 7591.
Returns client_id (and optionally client_secret for confidential clients).
The client_secret is only returned once and cannot be retrieved later.
POST
/
oauth
/
register
Dynamic Client Registration
curl --request POST \
--url https://api.headlesscommerce.io/v1/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"token_endpoint_auth_method": "none",
"scope": "<string>",
"logo_uri": "<string>",
"client_uri": "<string>"
}
'{
"client_id": "<string>",
"client_secret": "<string>",
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"grant_types": [
"<string>"
],
"token_endpoint_auth_method": "<string>",
"scope": "<string>",
"logo_uri": "<string>",
"client_uri": "<string>"
}Body
application/json
Human-readable client name
Registered redirect URIs
Minimum array length:
1Available options:
authorization_code, refresh_token Available options:
none, client_secret_post Default scopes
⌘I