cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmathews607
Frequent Visitor

Help creating Custom Connector with initial Access Token and Refresh Token

I am working with an API (documentation) that uses OAuth2 but does not have an initial authorization URL. Instead, I must retrieve the initial access token and refresh token by logging in to the admin portal and copying the generated tokens: 

 

jmathews607_0-1617899239416.png

The API provides a refresh token endpoint that can then be used to retrieve new tokens as needed.

 

Do Custom Connectors support this type of OAuth2 authentication? If so, please provide instructions on how to implement it.

 

These are my key roadblocks so far:

 

  • Custom Connector's OAuth2 configuration requires me to supply an authorization URL, which doesn't exist for this API
  • Custom Connector's OAuth2 configuration does not contain fields for me to supply initial access token and refresh token values
  • How do I set up the Custom Connector to automatically request a new token using the API's refresh token endpoint?

I have successfully built Custom Connectors before but am new to this API's particular authentication workflow and appreciate your help! 

0 REPLIES 0

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,410)