Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TableauServerUser only when using integrated authentication #59

Closed
kaklakariada opened this issue Oct 4, 2022 · 0 comments · Fixed by #60
Closed

Use TableauServerUser only when using integrated authentication #59

kaklakariada opened this issue Oct 4, 2022 · 0 comments · Fixed by #60
Assignees
Labels
bug Unwanted / harmful behavior

Comments

@kaklakariada
Copy link
Collaborator

Logic in connectionProperties.js that uses connectionHelper.attributeTableauServerUser is only allowed when

attr[connectionHelper.attributeAuthentication] === connectionHelper.valueAuthIntegrated;

(See documentation). The runningOnServer() call and logic needs to be conditional on useKerberos() being true.

Rational: we can only have the value of attr[connectionHelper.attributeTableauServerUser] used during Kerberos (integrated auth) scenarios. In either Desktop or Server with the Username and Password authentication the username value must always come from the value the user entered in the connection dialog: attr[connectionHelper.attributeUsername].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted / harmful behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant