- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Data Flow is Protected by Identity Server. Any client request shall include a OAuth 2.0 Bearar token retrieved from Knovvu Core Identity Server.
You must generate your token from the identity server using the credentials provided by Sestek.
You can use the postman collection here as an example.
With curl you can call
curl --location 'https://core-identity.useast.knovvu.com/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=[client_id]' \
--data-urlencode 'client_secret=[client_secret]' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=Wagtail'
You will receive a response similar to the following:
{
"access_token": "[token]",
"expires_in": 31536000,
"token_type": "Bearer",
"scope": "Wagtail"
}
Here the access_token is the token you must use in your Data Flow requests.
Note
- The examples provided here use links from knovvu identity server at AWS useast installation. Depending on the installation you are using this address will be different.
- Wagtail is the internal code name for Data Flow. Hence the scope value.
Was this article helpful?