web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / generic oAuth 2.0: Ref...
Power Automate
Unanswered

generic oAuth 2.0: Refresh token rotation

(0) ShareShare
ReportReport
Posted on by 29

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:
I have the same question (0)
  • IndraDeMesmaeke Profile Picture
    29 on at
    We ended up using a non-rotating refresh token and set up an inactivity expiration that was sufficiently long for our users. Not really the solution we were looking for, but it allowed us to continue.
  • apdams Profile Picture
    2 on at

    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
    2 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 190 Super User 2025 Season 2

Last 30 days Overall leaderboard