{
"client": {
"confidential": false,
"redirect_uris": [
"https://turbulent-dependency.net"
],
"post_logout_redirect_uris": [
"https://pointed-hospitalization.net"
],
"scopes": [
"openid"
],
"secret": null,
"application_identifier": "do"
}
}
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/loyalty_clubs/oauth2/clients' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"client": {
"confidential": false,
"redirect_uris": [
"https://turbulent-dependency.net"
],
"post_logout_redirect_uris": [
"https://pointed-hospitalization.net"
],
"scopes": [
"openid"
],
"secret": null,
"application_identifier": "do"
}
}'
{
"clients": {
"id": "5cb8044f-2f58-4621-9669-6445ebcff0dc",
"confidential": false,
"redirect_uris": [
"https://sparse-bookcase.name/"
],
"post_logout_redirect_uris": [
"https://unwilling-invite.org/"
],
"scopes": [
"offline_access",
"openid",
"openid"
],
"secret": null,
"loyalty_club_id": 33,
"application_identifier": "kwsda"
}
}