Plugin with oauth

I’m working on integrating a bunch of our internal processes together. I’ve already gotten things working on the jira side by setting up a webhook, but the more I have to configure, the more I think I just want to make a plugin.

My problem comes from self identifying the user outside of the jira context.

I can setup an application link and use the oauth flow to identify who a user is. Then save that mapping internally.

But I have yet to figure out how to do that flow through a plugin. I can pretend to be a user using the act_as_user stuff, but i don’t know how to identify a user.

Is there something I can add too my descriptor to setup an application link with a key and everything?

1 Like