Greetings everyone,
as you may know, Microsoft is ending the basic auth support for Microsoft 365 mail. So I tried to configure oauth2 but I keep running in a strange "error".
So here is what I did:
I basically followed these two document pages. https://confluence.atlassian.com/adminjiraserver/integrating-with-oauth-2-0-1013845729.html
And linked from there:
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
1. I created an app at the azure portal the get the client_id
2. I created the HTTP request looking like this
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
client_id=[Client ID from azure]
&response_type=code
&redirect_uri=[redirect URI from the Jira oauth integration dialogue]
&response_mode=query
&scope=openid%20offline_access%20https%3A%2F%2Fgraph.microsoft.com%2Fmail.read
&state=12345
3. I send the request, log in into my 365 account and instantly get redirected to my jira instance.
According to the Microsoft documentation the client secret should now be in the address bar, but there is only my jira dashboard url. What am I doing wrong? I appreciate any help.