Hi All,
My goal establish the connection with the customer website using API with OAUTH 2.0 ( using client Secret and API Key) to download the images from the customer. i got an error message while trying to connect with customer API.
My question :
- are we be able to use HTTP call to connect ? i could not find the authorization "Oauth 2.0" on the list ? they only show 'Active Directory Oauth' - which asking to to enter Tenant and Audience as a required ; but i have no information.
- what is the possible solution for this ? i am so new to flow so not sure what should i do to establish the connection. Please advice
Thanks for your response, @v-lin-msft
below is my input for HTTP call :
method : POST
URL:https://api.gettyimages.com/oauth2/token
Header :
Content-Type: application/x-www-form-urlencoded
Body:
client_id=exampleApiKey&client_secret=exampleSecret&username=someUsername&password=WithSomePassword
==>
i got below error message while trying to generate the access token :
Hi @vnguyen1,
The HTTP action can be able to call the web API and it generated authorization headers.
The Audience and Client ID are the same value. You can check this in your Azure Portal Application registration, this is the Application ID in the properties.
The Tenant field value is the domain, for example for us its: YourTenant.onmicrosoft.com.
You can also refer to this blog:
Please have a try, I hope it can help you.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional