AnsweredAssumed Answered

ArcGISWebException code 498: "invalidated refresh_token"

Question asked by jruland on Dec 9, 2019
Latest reply on Mar 16, 2020 by cfritz13

I am trying to use OAuthTokenCredential class to refresh access tokens by calling RefreshTokenAsync(). However, I am getting the titular exception and message. I store the refresh token locally, encrypted. When my app loads I decrypt the token and feed it into OAuthRefreshToken property, then run RefreshTokenAsync() and get the stated result.

 

I have verified the refresh token is the same after encryption/decryption, so I must be doing something wrong either trying to reload the credentials or refreshing the token. We have recently moved from ArcGIS runtime 100.4 to 100.6, could this have something to do with it?

 

Apologies if I posted this in the wrong area, I am new here. Thanks for your time.

Outcomes