Before using any of our APIs you must obtain an access token from fabric. fabric currently support two flows from OAuth2.0 for authentication.
- Authorization Code with PKCE
- Client Credentials
Depending on the connection type of your application you would need to choose the appropriate authentication mechanism.
- If you are unable to securely store the Client Secret, then you should use Authorization Code with PKCE.
- If you are able to securly store the Client Secret, then you can use Client Credentials.
To obtain an access token with this OAuth2.0 flow you will be calling two fabric endpoints.
To obtain an access token by client credetnaials you wil be calling one fabric endpoint.
Pass a Base 64 encoded string of your client credentials and client secret in this format
Basic client_id:client_secret, in the Authorization Header.