Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Current User impersonation for Connect apps

Rick Boykin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2022

We have a connect app and have user impersonation enabled. Not issues there.

We have a 3rd party app where user's authenticate, outside of anything Atlassian. Within that app, I want a user to be able to see their Atlassian issues and I would like for them to see their issues using their Atlassian permissions. Seems like a perfect use case for the Connect App impersonation. However, to impersonate a user, I need their user id, which I do not have and I'm not sure how I get it. 

One thought is to use the REST API OAuth to authenticate the user outside of the connect app, then associate their Jira userId with a user within our app. I suppose I could just abandon the OAuth token and use the Connect App Impersonation. This feels a little hackish so wondering if there is a better way.

0 answers

Suggest an answer

Log in or Sign up to answer