KNOWLEDGE BASE

Intermittent Errors "Unable to Sign In" and "Invalid Username or Password" Logging In Using SAML


Published: 06 Jan 2017
Last Modified Date: 06 Dec 2017

Issue

When users try to log in to Tableau Server, the following errors occur intermittently, even though authentication has been successful previously:
  • Unable to sign in. 
  • Invalid username or password. 
Additionally, the following can be found in the VizPortal log:
com.tableausoftware.api.webclient.remoting.AuthenticatedUserParameterProvider - WebClient: called API method has parameter of IAuthenticatedUser type, but when called there was no logged in user. Responding with 'InvalidSessionException'

Environment

  • Tableau Server
  • SAML

Resolution

Ensure that the maximum session age setting on the SAML IdP matches the wgserver.saml.maxauthenticationage setting on Tableau Server. The default setting on Tableau Server is 7200 seconds or 2 hours. 

Cause

The authentication session on the IdP is still valid, but the session on the Tableau Server has expired.
Did this article resolve the issue?