I am trying to get the access token from the bc api i have set up in azure. Right now this is working in postman without any problems.
However, when I try to implement it in the flow, it doesn't seem to work.
Postman way:
In the flow I have tried a bunch of different ways:
1. with Active Directory Oauth:: If i switch the uri to token then it does give me an access token but when I put it in then it says invalid
Also tried switching grant_type to authorization_code... but that requires a code in the body
also tried just without oauth, but similarly requires code if grant_type is authorization and is invalid if grant_type is client_credentials
also tried using redirect_url which seem to give me html for like a sign in page. This might be a good way but I don't seem to know how to get that sign up page to pop up and I don't want to sign in twice. This is redirecting to the bot link on azure(I have also tried the postman call back url)
In the postman way I had to log in to generate the token, so I assume I need to first Authorize then get token. How would I best accomplish this to get the right access token?
Thanks!
Hi mate, Iam facing the same issue. Did you find a resolution? If so could you please share?
Hello,
I don't have the exact answer, but please try calling BC APIs by creating this as a custom connector from the postman collection (since it works in postman) and see if the authentication works.
https://docs.microsoft.com/en-us/connectors/custom-connectors/define-postman-collection