How to Capture Azure Token in Jira Data Center for External API Integration

Hi everyone,

I’m currently using OpenID Connect for user authentication in Jira Data Center. I have a use case where I need to capture the Azure access token for the authenticated user in order to make API calls to other systems using the on-behalf-of flow in Azure.

Is there a way to achieve this in Jira Data Center?

  • Can this be done by developing a servlet filter in custom plugin to intercept and store the token or any other way?

Any guidance or examples would be greatly appreciated!

Thanks in advance.