ナレッジベース

SAML SSO for Tableau Server Fails when Server and Client Times are Off by More Than 5 Minutes


発行: 20 Jan 2016
最終修正日: 20 Jul 2023

問題

After configuring SAML authentication for Tableau Server or Tableau Cloud, a login information window is repeatedly prompted for login information. Additionally, the following error might occur:  
Unable to Sign In; Invalid username or password.
 
 
Additionally, the Site SAML troubleshooting log file SAML logs contains the following error:
ERROR | correlationId=[ID], url=[/public/sp/SSO], status=[401], cause=[Error validating SAML message; caused by: Response issue time is either too old or with date in the future, skew 60

環境

 
  • Tableau Cloud
  • Tableau Server 10 
  • Site SAML

解決策

Option 1

Verify that the time between the server(s) and client(s) are within 5 minutes, and that the default maxAuthenticationAge time is set correctly.

Option 2

If the times are in synchronization, add a time skew of 60 seconds on the IdP's relying party configuration.

原因

By default, SAML authentication is set to reject any assertion older than 5 minutes. The default setting can be changed, however it is best to make sure that the client and server times synchronize properly. Most organizations employ an automatic time service or Network Time Protocol to synchronize all the computers in their domain but sometimes those services fail or are simply not in use.

詳細情報

To gather the site SAML log:
  1. Sign in to Tableau Server or Tableau Cloud as an administrator or site administrator.
  2. Select Settings.
  3. Select Authentication.
  4. Scroll to the bottom, under section 7) "Troubleshooting single sign-on (SS)" select Download log file.


この記事で問題は解決しましたか?