Answered

Does access token obtained with OAuth has expiration date?

  • 15 April 2024
  • 1 reply
  • 13 views

Userlevel 1

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?

icon

Best answer by Andrii Fedyk 19 April 2024, 16:12

View original

1 reply

Userlevel 1

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

Reply