Products | Versions |
---|---|
Spotfire Analyst | 10.2.0 and higher |
A red error message appears: 'An error occurred while logging in' as soon as the 'Log In' button is clicked. When clicking on 'More information' -> 'Details' you may see the following error:
Error message: The session has expired.
AuthenticationException at Spotfire.Dxp.Loader:
Could not authenticate with server to get tokens (invalid_grant): The refresh token was not found or has expired. (HRESULT: 80131501)
Stack Trace:
at Spotfire.Dxp.Loader.LoginHandler.OAuth2LoginUsingRefreshToken(ServerInformation chosenServer, SpotfireOAuth2Identity oAuth2Identity, Boolean usePersistentRefreshTokens)
at Spotfire.Dxp.Loader.LoginControl.OkButtonClick(Object sender, EventArgs e)
WebException at Spotfire.Dxp.Framework:
The remote server returned an error: (400) Bad Request . (HRESULT: 80131509)
Stack Trace:
at Spotfire.Dxp.Framework.HttpClient.NativeWebResponse..ctor(NativeHttpClient httpClient, NativeWebRequest request)
at Spotfire.Dxp.Framework.HttpClient.WinINet.WinINetWebRequest.GetResponseCore()
at Spotfire.Dxp.Framework.HttpClient.NativeWebRequest.GetResponse()
at Spotfire.Dxp.Framework.Login.OAuth2AuthenticationFlow.TryExecuteTokenRequest(WebRequest tokenRequest, Boolean getRefreshToken, Boolean isPasswordRequest, String& authToken, String& refreshToken, Exception& error)