cancel
Showing results for 
Search instead for 
Did you mean: 

Deauthorize not work

thelemontree10
Mt. Kenya

Hi,

I am deauthorizing my athelete from my app using power automate.

Capture.PNG

I have used exactly below info on documentation page but not work.

Here is the return response.

{
  "message""Authorization Error",
  "errors": [
    {
      "resource""Athlete",
      "field""access_token",
      "code""invalid"
    }
  ]
}

I have checked the latest access_token of that athlete and it is true.

 

 
Can someone guide me I am wrong any where ? 
 
Thank you so much.

-----

Deauthorization

Applications can revoke access to an athlete’s data. This will invalidate all refresh tokens and access tokens that the application has for the athlete, and the application will be removed from the athlete’s apps settings page. All requests made using invalidated tokens will receive a 401 Unauthorized response.

The endpoint is POST https://www.strava.com/oauth/deauthorize.

access_token
required string, in query
R
1 ACCEPTED SOLUTION

thelemontree10
Mt. Kenya

I have detected the issue. You must refresh the access token so that it is still lived at the time you deauthorize.

View solution in original post

1 REPLY 1

thelemontree10
Mt. Kenya

I have detected the issue. You must refresh the access token so that it is still lived at the time you deauthorize.

Ready, Get Set, Go!

Welcome to the Community - here is your guide to help you get started!


Know how to use Community


Understand Community Settings