Widget OAuth configuration
Configuration
You can configure oauth authorization for customers on our endpoint: https://spinner.closer.app/api/oauth-config
.
All requests needs admin's ApiKey in X-Api-Key
header.
To create a config send a POST
with body:
You can retrieve config by executing GET
request. Result should look like this:
To update config you can use PATCH
request with body:
The only field required when updating config is oauthConfigEnabled
.
You can also delete your config by simply executing DELETE
without body.
/userinfo endpoint
This endpoint should return body:
Only id
field is required. In backOfficeData
you can specify any additional information you want to display for your agents.
Last updated