- Azure Tenant Id
- Application Client Id
- Application Client Secret
Shortly? YES! App setting you need to go to Authentication -> Platform configuration -> Add Platform -> Web - And set Redirect URIs to http://localhost:8080
- By Create URL to user Login function, you will receive a URL that you will need to put into your browser.
- After login / If you already were logged in browser URL, you will find a new one that will start with
localhost:8080
. - You can extract the needed code from this returned URL by Extract code function.
- Now you need to get
Refresh Token
. To get this type of token, you will need an app to call APIs and handle redirections. I recommend Postman App. - In Postman you need to import this cURL. And import change all "<>" parameters for requested values. (Dont forget to change the one in URL also!)
- In JSON response, you will find
Refresh Token
that you need to receive your UserToken. - Thanks to UserToken function, you need to generate
Bearer Token
. - Received token you can use to call Gateways function and finally receive outputs!
- Code received by Extract code can be called only once. If your call with this code will return an ERROR, you need to generate code again from scratch.