To start off fork/download collection
This collection provides Auth Example request collection and Auth Example environment.
-
Configure Base_URL - this is the url of your creatio instance,
For example Base_URL: https://129117-crm-bundle.creatio.com
-
ClientId and ClientSecret are used with OAuth Authentication, if you'd rather use cookies authentication then fill out UserName and UserPassword.
To get ClientId and ClientSecret for cloud instance follow the Academy article starting from step 3, to configure OAuth for onsite installation follow the article from step 1.
-
The following are auto-calculated variables (do not change them unless you are using onsite environment)
- Base_URL_IS and Base_WSS_URL - assigned in Pre-req step for Authentication request.
- BPMCSRF - assigned when "Authentication (Cookies)" succeeds, see Tests tab for details.
- access_token - assigned when any of OAuth request succeeds.
-
Expand Authentication folder and execute one of the Authentication requests
- OAuth (form-data)
- Authentication (Cookies)
- OAuth (Basic)
OAuth (form-data) and OAuth (Basic) will store access_token and the environment variable on success. This token will be used in the following requests. Authentication (Cookies) will obtain necessary cookies and store them, it will also assign BPMCSRF cookie value to the environment variable for later use.