Native App Unauthorized


#1

Hello,

I am trying to connect a native application to asana and get some user data. I registered the app in my account and generated the bearer token. I am able to call https://app.asana.com/api/1.0/projects and so on. This works well with Postman.

Unfortunately when I try to set the connection point from my application I am getting “not authorized”. I am using a CDATA Provider for Json.

They say we need
URI=https://app.asana.com/api/1.0/users
InitiateOAuth=GETANDREFRESH
OAuthClientID=myasanaapplicationid
OAuthClientSecret=myasanaapplicationsecret
CallBackURL=urn:ietf:wg:oauth:2.0:oob
OAuthVersion=2.0

So this is what my connection string has.

Does someone have an idea?

Thanks in advance!


#2

Hey @Carlos_Santos,

Thanks for reaching out. Sorry to hear you’re having auth issues. Unfortunately, I’m not sure what’s going on as I’m not familiar with CDATA. Perhaps someone in the community has experience with it.

Best of luck!