Create OAuth client metadata for administration
Changed onCreates a new OAuth client metadata record for an authenticated administrator.
User and delegated-user principals must have the persisted ADMIN business role. Delegated Aura Historia access-token callers must also have the access-tokens:write capability. The plaintext client_secret is returned only in this create response and is never logged or returned by later reads.
Redirect URIs must be non-empty HTTPS URLs without fragments. Requested scopes must be supported OAuth scopes.
Request
- Base URL: https://api.stage.aura-historia.com
- URL: https://api.stage.aura-historia.com/api/v1/admin/oauth-clients
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"client_name": "Acceptance OAuth client",
"tos_uri": "https://client.example/tos",
"policy_uri": "https://client.example/policy",
"client_uri": "https://client.example",
"logo_uri": "https://client.example/logo.png",
"redirect_uris": [
"https://client.example/callback"
],
"scope": [
"product-listings:write"
]
}Response
OAuth client metadata created successfully.
Example response
{
"client_id": "oc_7b0gwc1x49e0mvbt3tfexfqgb5",
"client_secret": "aurahistoria_oauth_client_secret_abcdefghijk_abcdefghijklmnopqrstuvwxyz1234567",
"client_name": "Acceptance OAuth client",
"tos_uri": "https://client.example/tos",
"policy_uri": "https://client.example/policy",
"client_uri": "https://client.example",
"logo_uri": "https://client.example/logo.png",
"redirect_uris": [
"https://client.example/callback"
],
"scope": [
"product-listings:write"
],
"client_id_issued_at": 1748539200
}Changes
- warning
added the new
admin-overview:readenum value to the/response property for the response status - warning
added the new
auctions:readenum value to the/response property for the response status - warning
added the new
auctions:writeenum value to the/response property for the response status - warning
added the new
listing-sources:readenum value to the/response property for the response status - warning
added the new
listing-sources:writeenum value to the/response property for the response status - warning
added the new
notifications:readenum value to the/response property for the response status - warning
added the new
notifications:writeenum value to the/response property for the response status - warning
added the new
parties:readenum value to the/response property for the response status - warning
added the new
parties:writeenum value to the/response property for the response status - warning
added the new
partnership-applications:readenum value to the/response property for the response status - warning
added the new
partnership-applications:writeenum value to the/response property for the response status - warning
added the new
partnerships:readenum value to the/response property for the response status - warning
added the new
partnerships:writeenum value to the/response property for the response status - warning
added the new
search-filters:readenum value to the/response property for the response status - info
added the new
admin-overview:readenum value to the request property/ - info
added the new
auctions:readenum value to the request property/ - info
added the new
auctions:writeenum value to the request property/ - info
added the new
listing-sources:readenum value to the request property/ - info
added the new
listing-sources:writeenum value to the request property/ - info
added the new
notifications:readenum value to the request property/ - info
added the new
notifications:writeenum value to the request property/ - info
added the new
parties:readenum value to the request property/ - info
added the new
parties:writeenum value to the request property/ - info
added the new
partnership-applications:readenum value to the request property/ - info
added the new
partnership-applications:writeenum value to the request property/ - info
added the new
partnerships:readenum value to the request property/ - info
added the new
partnerships:writeenum value to the request property/ - info
added the new
search-filters:readenum value to the request property/
- warning
- warning
added the new
listing-sources:writeenum value to the/response property for the response status - info
added the new
listing-sources:writeenum value to the request property/
- warning