Asana displays my username instead of the actual user who made a change in ServiceNow

I have integrated ServiceNow and Asana through APIs, but I’m facing an issue where Asana displays my username instead of the actual user who made a change in ServiceNow.

For example, if a user adds a comment in ServiceNow, Asana shows my name instead of the user’s name. Upon checking the response body, I found that it is taking the “created by” as me.

Hi @Srujan_Chilumula,

If you’d like the action to be attributed to the user who took it in Service Now, the best option is to use OAuth and ask each user to authorize your integration. This would require securing multiple refresh tokens (one for each user).

Another option would be to collect a personal access token from each user as part of the user’s configuration / setup of the integration. The API access would work the same, but OAuth offers a better experience for the end user.

Hope this helps! Let me know if I can clarify anything.

John

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.