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 edited

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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events