Loading

Error "Attempt to redirect to unrecognized host <host name>. Unable to redirect" When Adding OAuth Credentials

Publiceringsdatum: Dec 23, 2025
Beskrivning

When adding OAuth credentials in Tableau Server, the following error may occur:

Attempt to redirect to unrecognized host <host name>. Unable to redirect. If this host is a trusted host, add this host to the 'oauth.whitelisted.redirect_to_origin_host' list.

Cause: The host name indicated in the error message needs to be added to the allowlist redirect key on Tableau Server.

Lösning
If the host indicated in the error message is a trusted host, run tsm configuration set with the oauth.whitelisted.redirect_to_origin_host key option. For example, the following commands set the host name to tableau:
tsm configuration set -k oauth.whitelisted.redirect_to_origin_host -v "tableau"
tsm pending-changes apply              
Ytterligare resurser

Troubleshoot OAuth Connections

In some cases, users may receive an error when attempting to connect with OAuth. The first sentence of the error message is: The server encountered an internal error or misconfiguration and was unable to complete your request.

Knowledge-artikelnummer

001534477

 
Laddar
Salesforce Help | Article