Skip to main content
Answered

Does access token obtained with OAuth has expiration date?

  • April 15, 2024
  • 1 reply
  • 98 views

Andrii Fedyk

Our application uses OAuth to get user’s access token. We noticed that after a while tokes are revoked and API calls fails with unauthorized errors. An example:

```json

{

  "type": "error.list",

  "request_id": "0003hg8qe7evlq01dqcg",

  "errors": [{ "code": "unauthorized", "message": "Access Token Invalid" }]

}

```

May I ask if access tokens obtained through OAuth have expiration date? If there a way to debug why token is invalid now?

Best answer by Andrii Fedyk

The issue solved. It looks that clients has used cached access token which was already revoked 

View original
Did this topic help you find an answer to your question?

1 reply

Andrii Fedyk
  • Author
  • New Participant
  • 3 replies
  • Answer
  • April 19, 2024

The issue solved. It looks that clients has used cached access token which was already revoked 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings