8000 Personal Access Token Authentication by fpagliar · Pull Request #465 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Personal Access Token Authentication #465

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

Conversation

fpagliar
Copy link
Contributor

The rest api sign in request will support providing a personal access token, along with its name, as a valid credential instead of username and password.

Created a new credential type aside of TableauAuth. They both have the same request/response format, the only difference is the credentials section of the request, where they provide different arguments.

Adding tests and a sample that shows how to use the new capabilities

Copy link
Collaborator
@t8y8 t8y8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for breaking it into a new object and the new sample login script looks good.

I've got one request, then ship it!

Copy link
Collaborator
@t8y8 t8y8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@fpagliar
Copy link
Contributor Author

I think I don't have permissions to merge.

…e attempting to use it against older versions of the server
@fpagliar
Copy link
Contributor Author

Moved the sign in call to a new method to validate the rest api version before using Personal Access Tokens since older versions of the rest api won't support it

@shinchris shinchris merged commit 11d47ef into tableau:development Jul 26, 2019
@fpagliar fpagliar deleted the users/fpagliaricci/personal-access-tokens-auth branch July 26, 2019 21:01
@shinchris shinchris mentioned this pull request Oct 4, 2019
shinchris pushed a commit that referenced this pull request Oct 4, 2019
Release v0.9
## 0.9 (4 Oct 2019)

* Added Metadata API endpoints (#431)
* Added site settings for Data Catalog and Prep Conductor (#434)
* Added new fields to ViewItem (#331)
* Added support and samples for Tableau Server Personal Access Tokens (#465)
* Added Permissions endpoints (#429)
* Added tags to ViewItem (#470)
* Added Databases and Tables endpoints (#445)
* Added Flow endpoints (#494)
* Added ability to filter projects by topLevelProject attribute (#497)
* Improved server_info endpoint error handling (#439)
* Improved Pager to take in keyword arguments (#451)
* Fixed UUID serialization error while publishing workbook (#449)
* Fixed materalized views in request body for update_workbook (#461)
bcantoni added a commit that referenced this pull request Oct 1, 2020
- Add troubleshooting guide for capturing REST API traffic
- Add docs for site_switch() added in #655
- Rewrite sign in/out page to be more clear
- Add docs for PersonalAccessTokenAuth added in #465
- Some general edits and wordsmithing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0