curl --request POST \
--url http://localhost:55001/api/auth/clients \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"public": true,
"redirectUris": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"trusted": true,
"postLogoutRedirectUris": [
"<string>"
],
"metadata": {},
"scopes": [
"<string>"
]
}'
{
"data": {
"public": true,
"redirectUris": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"trusted": true,
"postLogoutRedirectUris": [
"<string>"
],
"metadata": {},
"scopes": [
"<string>"
],
"id": "<string>",
"secrets": [
{
"lastDigits": "<string>",
"name": "<string>",
"id": "<string>",
"metadata": {}
}
]
}
}
curl --request POST \
--url http://localhost:55001/api/auth/clients \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"public": true,
"redirectUris": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"trusted": true,
"postLogoutRedirectUris": [
"<string>"
],
"metadata": {},
"scopes": [
"<string>"
]
}'
{
"data": {
"public": true,
"redirectUris": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"trusted": true,
"postLogoutRedirectUris": [
"<string>"
],
"metadata": {},
"scopes": [
"<string>"
],
"id": "<string>",
"secrets": [
{
"lastDigits": "<string>",
"name": "<string>",
"id": "<string>",
"metadata": {}
}
]
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Client created
The response is of type object
.