Refine Asana OAuth2 scopes → Build driver query URLs with url.URL not concatenation

- Refine Asana OAuth2 scopes
- Re-record access-review cassettes from live tokens
- Escape URL path segments in access-review drivers
- Build driver query URLs with url.URL not concatenation

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
Aurélien Sibiril
2026-05-17 17:22:50 +02:00
parent f3a745c245
commit 7b814576df
23 changed files with 393 additions and 93 deletions

View File

@@ -12,7 +12,7 @@ interactions:
limit:
- "100"
opt_fields:
- "email,name"
- email,name
headers:
Accept:
- application/json
@@ -22,14 +22,63 @@ interactions:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
content_length: -1
uncompressed: true
body: '{"data":[{"gid":"1100000001","name":"Jane Doe","email":"jane@example.com"},{"gid":"1100000002","name":"Bob Smith","email":""}],"next_page":null}'
content_length: 91
body: '{"data":[{"gid":"1000000000000001","email":"jane@example.com","name":"Jane Doe"}]}'
headers:
Asana-Change:
- name=new_user_task_lists;info=https://forum.asana.com/t/update-on-our-planned-api-changes-to-user-task-lists-a-k-a-my-tasks/103828
- name=cross_workspace_deprecation;info=https://forum.asana.com/t/change-get-projects-get-users-and-get-tags-will-require-a-workspace-or-team/1031581
- name=new_goal_memberships;info=https://forum.asana.com/t/launched-team-sharing-for-goals/378601;affected=true
- name=teamless_projects;info=https://forum.asana.com/t/change-teamless-projects/929205
- name=goal_sals_api;info=https://forum.asana.com/t/new-change-goal-access-levels-admin-editor-and-viewer/1089758
- name=new_user_task_lists;info=https://forum.asana.com/t/update-on-our-planned-api-changes-to-user-task-lists-a-k-a-my-tasks/103828
- name=cross_workspace_deprecation;info=https://forum.asana.com/t/change-get-projects-get-users-and-get-tags-will-require-a-workspace-or-team/1031581
- name=new_goal_memberships;info=https://forum.asana.com/t/launched-team-sharing-for-goals/378601;affected=true
- name=teamless_projects;info=https://forum.asana.com/t/change-teamless-projects/929205
- name=goal_sals_api;info=https://forum.asana.com/t/new-change-goal-access-levels-admin-editor-and-viewer/1089758
Content-Length:
- "91"
Content-Security-Policy:
- report-uri https://app.asana.com/-/csp_report?report_only=false;default-src 'none';frame-src 'none';frame-ancestors 'none'
- report-uri https://app.asana.com/-/csp_report?report_only=false;default-src 'none';frame-src 'none';frame-ancestors 'none'
Content-Type:
- application/json
- application/json; charset=UTF-8
Date:
- Thu, 01 May 2026 12:00:00 GMT
- Fri, 08 May 2026 16:45:46 GMT
Referrer-Policy:
- strict-origin-when-cross-origin
Server:
- istio-envoy
Server-Timing:
- cdn-upstream-layer;desc="REC",cdn-upstream-dns;dur=0,cdn-upstream-connect;dur=0,cdn-upstream-fbl;dur=207,cdn-cache-miss,cdn-pop;desc="CDG52-P2",cdn-rid;desc="tZKhlkEkxoMLAs5yCUtyLzZxi7d-FrIkOB5TiRF5JC7gHSk9oBQFwQ==",cdn-downstream-fbl;dur=230
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 ef16cf332760e013a5fd2d10ab2b11ec.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- tZKhlkEkxoMLAs5yCUtyLzZxi7d-FrIkOB5TiRF5JC7gHSk9oBQFwQ==
X-Amz-Cf-Pop:
- CDG52-P2
X-Asana-Api-Version:
- "1.1"
X-Asana-Cell:
- prod-us1-asana-cell15
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
- nosniff
X-Envoy-Upstream-Service-Time:
- "121"
X-Frame-Options:
- DENY
- DENY
X-Robots-Tag:
- none
X-Ua-Compatible:
- IE=edge,chrome=1
X-Xss-Protection:
- 1; mode=block
- 1; mode=block
status: 200 OK
code: 200
duration: 100ms
duration: 268.294ms