KNOWLEDGE BASE

Error "400 redirect_uri_mismatch_error" When Configuring OpenID for Tableau Server


Published: 02 Jan 2019
Last Modified Date: 20 Sep 2019

Issue

When configuring OpenID for Tableau Server, the following error might occur after attempting to log in: 

"400 redirect_uri_mismatch_error"

Environment

  • Tableau Server 2018.2 or later
  • OpenID Single Sign On

Resolution

Upgrade to Tableau Server 2019.3 or a newer version. See Tableau Server Downloads and Release Notes for downloads of current and previous versions of Tableau Server. 

For more information on current releases, see Upgrade Tableau Server and Server Upgrade. When authorizing the redirect URL in the IdP configuration, add the /auth/ portion to the URL like below: 

https://tableau.example.com/vizportal/api/web/v1/auth/openIdLogin.
 

Cause

This behavior is related to a known issue with ID 857789 which has been fixed in a recent version of Tableau Server. 

The URL populated by the TSM Web UI lacks the necessary /auth/ portion: 

https://tableau.example.com/vizportal/api/web/v1/openIdLogin.
Did this article resolve the issue?