Hi,
We have a customer who wants to integrate Jira with his SharePoint.
Is it possible to authenticate in Jira with an office 365 (Azure AD) account through SharePoint?
So the user logs onto his sharepoint and our custom code uses these credentials to authenticate with Jira and then retrieve some items to display. Single sign on.
Your best bet is to ask this question over at the User community: https://community.atlassian.com
1 Like
No, directly authenticating in Jira with an Office 365 (Azure AD) account through SharePoint for your custom code won’t work. Here’s why:
- Separate Authentication Systems: Jira and SharePoint use independent authentication mechanisms. Jira can leverage Azure AD for Single Sign-On (SSO), but it doesn’t involve SharePoint itself.
- SharePoint Doesn’t Pass Credentials: SharePoint won’t directly pass on user credentials to your code. It’s for security reasons to isolate applications.
Here are two possible approaches to achieve your goal: SharePoint Development
- Azure AD SSO for Jira: Implement Azure AD SSO for Jira. This allows users to log in to Jira using their Office 365 credentials. Your code within Jira would then have access to the authenticated user’s information.
- Authorization Code Flow with Azure AD: Use the OAuth 2.0 authorization code flow with Azure AD. This involves:
- The user logging in to SharePoint.
- Your code redirecting the user to Azure AD for authorization.
- Azure AD granting an access token upon successful login.
- Your code using the access token to authenticate with Jira’s REST API and retrieve data.
This approach offers more flexibility but requires additional development effort.
Here are some resources to explore further: