0

Could anyone tell me what is default expiration time of refresh token and access token provided by Bing API?

Nidhi
  • 21
  • 6

1 Answers1

1

The official docs state the following:

Refresh tokens are, and always will be, completely opaque to your application. They are long-lived e.g., 90 days for public clients, but the app should not be written to expect that a refresh token will last for any period of time. Refresh tokens can be invalidated at any moment, and the only way for an app to know if a refresh token is valid is to attempt to redeem it by making a token request.

So basically, they recommend you as a developer not to rely on this time span.

nichoio
  • 6,289
  • 4
  • 26
  • 33