Hi,
Can anyone point me to the right direction?
I am trying to create a custom connector using OAuth 2.0 as the authentication and Azure Active Directory as the Identity Provider.
I have successfully created a connection using client id, client secret and tenant id. However, I am getting 401 status code when I tried the operation.
What I have done so far:
- Used postman with the same details and successfully connected.
- Created a flow with http request action that requests the token and another http request action for the actual request.
Upon inspecting the difference using jwt.ms, the token generated by the custom connector has an audience of https://apihub.azure.com.
As per copilot, this is the architecture I need to follow:
Thanks in advance!