Commit 3cc5eb0
Add OAuth support (#156)
* Add OAuth config entries (#142)
* Add OAuth config variables
* Update ProcessEnv
* Add test for clientIdSecretPairs
* Clean up
* Fix bad merge, address copilot suggestion
* A few housekeeping things (#143)
* Update lint rules
* Use 127.0.0.1 for local http
* Fix lint errors
* Upload docs artifacts
* Add API definitions (#144)
* Add Tableau OAuth Zodios definitions
* Add Get Current Server Session REST API
* Update import
* Add OAuth 2.1 implementation (#145)
* Add OAuth 2.1 implementation
* Remove scope from access token
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Fix expiration of access token generated from client creds
* Add clientId to token
* Treat Tableau access token expiry in seconds
* Treat all timestamps in seconds
* Rotate the refresh token
* Generate new code verifier for Tableau
* Add auth middleware (#147)
* Add auth middleware
* Add clientId in access token
* Remove extraneous variable
* Treat Tableau access token expiration in seconds
* Treat all timestamps in seconds
* Add getTableauAuthInfo
* Update tools to use OAuth info (#148)
* Log username
* Update tools
* Add prompt when disabling OAuth
* Rename to DANGEROUSLY_DISABLE_OAUTH
* Add OAuth tests (#149)
* Add supertest and OAuth tests
* Run OAuth tests during CI
* Remove OAUTH_JWE_PRIVATE_KEY_PASSPHRASE
* Remove more unneeded env vars
* Remove unneeded TRANSPORT
* Address Copilot suggestions
* s/return/await
* Add additional refresh_token coverage
* Update should redirect to Tableau OAuth
* Improve afterEach
* Add invalid token request test
* Add OAuth docs (#150)
* Add mermaid theme
* Fix mermaid theme version
* Add OAuth docs
* Rename optional.md to env-vars.md
* Merge env var files
* Update warnings
* Add warning to http-server
* Update docs
---------
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Bump version
---------
Co-authored-by: Copilot <[email protected]>1 parent 09e27d2 commit 3cc5eb0
File tree
105 files changed
+5938
-194
lines changed- .github/workflows
- docs
- docs
- configuration/mcp-config
- authentication
- extras
- tools
- content-exploration
- data-qna
- views
- workbooks
- src
- logging
- scripts
- sdks
- tableau-oauth
- tableau
- apis
- methods
- types
- server
- oauth
- .well-known
- tools
- contentExploration
- getDatasourceMetadata
- listDatasources
- pulse
- generateMetricValueInsightBundle
- listAllMetricDefinitions
- listMetricDefinitionsFromDefinitionIds
- listMetricSubscriptions
- listMetricsFromMetricDefinitionId
- listMetricsFromMetricIds
- queryDatasource
- validators
- views
- workbooks
- utils
- tests
- eval
- oauth
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
105 files changed
+5938
-194
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
8 | 28 | | |
9 | 29 | | |
10 | 30 | | |
| |||
19 | 39 | | |
20 | 40 | | |
21 | 41 | | |
22 | | - | |
| 42 | + | |
23 | 43 | | |
24 | 44 | | |
25 | | - | |
| 45 | + | |
26 | 46 | | |
27 | 47 | | |
28 | 48 | | |
| |||
43 | 63 | | |
44 | 64 | | |
45 | 65 | | |
| 66 | + | |
| 67 | + | |
46 | 68 | | |
47 | 69 | | |
48 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
| |||
0 commit comments