4

Does Uber server_token expires like access_token ?

Note: Access tokens are valid for 30 days. The expiration time is specified in seconds in the ‘expires_in’ key of the token payload.

Can't find any documentation on server_token. TIA

Shahal
  • 1,008
  • 1
  • 11
  • 29

2 Answers2

1

From official guideline Uber Authentication

    {
    "access_token": "xxx",
    "token_type": "Bearer",
    "expires_in": 2592000,
    "refresh_token": "xxx",
    "scope": "profile history"
  }

The access_token is good for a limited period of time described by expires_in seconds. The refresh_token does not expire and can be used to obtain a new access_token at any time given that the calling application is still authorized to access the API on behalf of this user.

IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
  • Please read the question once , i'm asking about server token which different from access_token and refresh_token . Server token will be there in Dashboard. – Shahal Aug 01 '17 at 06:50
  • @Shahal like `refresh_token `server_token does not expire . – IntelliJ Amiya Aug 02 '17 at 07:05
  • refresh_token do expire. "A refresh_token is valid for one year and tokens that have been inactive for more than one year will be invalidated." – Shahal Aug 02 '17 at 07:18
1

No, the server_token does not expire. The only way it can be changed is by generating a new one in your dashboard.

Olivier Gabison
  • 78
  • 1
  • 13