Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

generic oAuth 2.0: Refresh token rotation

(0) ShareShare
ReportReport
Posted on by 27

Hello,

 

we have been working on a custom connector for some time and have had some issues with token refreshing. We have setup the connector to use generic oAuth 2.0, retrieving access tokens and a refresh token works for an initial period.

 

Access tokens are also refreshed regularly. However, we have token rotation and expiry enabled on our refresh tokens every 2 weeks. After this point access tokens are no longer refreshed for the connector, our identity provider includes a new refresh token when the current refresh token is exchanged for renewed access.

 

Does a custom connector (and the built-in authentication) support rotation of refresh tokens, or does it expect the refresh token to be valid indefinitely?

 

Many thanks

Categories:
  • apdams Profile Picture
    apdams 2 on at
    Re: generic oAuth 2.0: Refresh token rotation

    I have the same question. Did you ever solve this. I have the same problem. My tokens refresh for as long as the refresh token is valid (588000 seconds ~ 6.8 days). After 7 days,  I have to manually refresh the token in order to get a new refresh token.

     

  • JBadham95_TT Profile Picture
    JBadham95_TT 2 on at
    Re: generic oAuth 2.0: Refresh token rotation

    Hi,

     

    Did you ever find a solution to this?

     

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics