Creating an Asana OAuth 2.0 app
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Asana’s own documentation: OAuth, OAuth scopes, and the live authorization-server metadata. Retrieved 2026-07-03.
- Sign in to Asana and open the developer console at My apps (My developer apps). Select Create new app.
- Give the app a name and accept the API terms. On the app’s OAuth settings, add the Redirect URL exactly as shown on the connect form (it must match the
redirect_urisent at authorization time). - Under OAuth > Permission scopes, either toggle Full permissions (access to all endpoints) or select the specific granular scopes the connection needs. Asana enforces registration: requesting a scope the app has not registered will fail. The per-capability scopes in this catalog entry (
tasks:read,projects:write, …) list what each flow needs; register those. - Copy the Client ID and Client secret from the app’s OAuth settings.
Operational notes (from the OAuth guide):
- Authorization: redirect the user to
GET https://app.asana.com/-/oauth_authorizewithclient_id,redirect_uri,response_type=code,state, and a space-delimitedscope. PKCE is supported and recommended: addcode_challengeandcode_challenge_method=S256(the metadata advertises onlyS256). - Token exchange:
POST https://app.asana.com/-/oauth_tokenwithContent-Type: application/x-www-form-urlencodedand a form body ofgrant_type=authorization_code,client_id,client_secret,redirect_uri,code, and (if used)code_verifier. The response returnsaccess_token(a bearer token, valid one hour —expires_intypically3600),refresh_token,token_type, and adataobject identifying the authorizing user. - Refresh:
POSTthe same token endpoint withgrant_type=refresh_token,refresh_token,client_id, andclient_secret. Asana does not document whether refresh tokens rotate, so this catalog entry makes no rotation claim — persist whatever the response returns. - Scopes: if no scope is sent, the app falls back to the legacy default OAuth scope only if it was registered with Full permissions. Identity is available via the OIDC scopes
openid,email, andprofile. - Revoke:
POST https://app.asana.com/-/oauth_revokewithclient_id,client_secret, and thetokento deauthorize a token. - All API calls go to the
https://app.asana.com/api/1.0base URL withAuthorization: Bearer <access_token>.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Asana, and pick Asana OAuth 2.0. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Asana in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.