ArcGISWebException code 498: "invalidated refresh_token"

345
1
12-09-2019 02:59 PM
JonathanRuland
New Contributor II

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.

0 Kudos
1 Reply
CharlesFritz2
New Contributor III

Hi we are receiving a 498 error, but in other implementations of token authentication. Did you eventually figure this out?

0 Kudos