Summary
-
Currently, if an Asana workspace admin blocks an OAuth app or personal access tokens, it affects users across all workspaces they belong to—even workspaces where access is not restricted.
-
We’re introducing an update to refine this, allowing users to use apps and personal access tokens in workspaces without such restrictions.
Who is affected
- Asana OAuth app/integration developers working across multiple workspaces.
- Users in Asana workspaces where an admin has blocked app or API usage, including new members of those workspaces.
Enhancements
OAuth Consent
In the past, users faced a blocking screen or an approval request flow when trying to authorize an app in a workspace where it was blocked.
Starting in April, users will be able to authorize an app in all workspaces where they are not blocked. The consent screen will indicate where the app is blocked and provide a link to request an app approval.
A future update, users will need to explicitly choose a workspace when authorizing an app. More details will be shared later this year. In the meantime, this enhancement will give Asana users broader access to the API and apps.
Personal Access Tokens
Users will soon be able to generate personal access tokens which access unblocked workspaces, while still being restricted in workspaces where access is blocked.
In a future iteration, you’ll be able to see a list of workspaces each token can access. In the meantime, you should not assume that a personal access token can access all of a user’s workspaces. You’ll receive an error when trying to access blocked workspaces. You can use the /workspaces endpoint to see a list of workspaces the token has access to. Blocked workspaces will not appear in the list.
{
"data": [
{
"gid": "1579",
"name": "ACME, Inc",
"resource_type": "workspace"
},
{
"gid": "1592",
"name": "Apollo Enterprises",
"resource_type": "workspace"
}
]
}
Timeline
Week of April 15: Rollout of the updated OAuth consent experience and the ability to create personal access tokens for unblocked workspaces.
June 2024: The Asana developer console will be updated to display accessible workspaces per personal access token.
Why We’re Making This Change
This update addresses feedback from our multi-workspaces users, developers, and admins who have expressed the need for more granular control over app and API usage. It’s a milestone on our journey to authorize apps and generate tokens for specific workspaces!
We hope this will be a welcome change. Please let me know if you have any questions!