We are trying to integrate 3LO OAuth with our app by follwing your docs here: https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/
Unfortunately we only get an error when we try to send our request to:
auth.atlassian .com/authorize?.. saying that we should contact support. Instead we would expect a consent sscreen.
We try to get the following scopes:
read:jira-user read:servicedesk-request read:jira-work
but no combination worked so far. Not even view:userprofile
If we omit the scopes it says we did not request any scopes.
- Request from browser:
auth.atlassian .com/authorize ?client_id=0Yef &response_type=code &redirect_uri=https%3A%2F%2Flocalhost%3A5001%2Fsignin-atlassian &protocol=oauth2 &scope=view%3Auserprofile &_csrf=q82UqE... &_intstate=deprecated &state=g6Fo2S... &connection=oidc-session-bridge &auth0Client=eyJuYW1lIjoiYXV0aDAuanMiLCJ2ZXJzaW9uIjoiOC4xMi4yIn0%3D
- In return we get an 302 redirect
- The browser makes the redirect
- In return we get a 302 and the browser makes the call:
Boom, here we only get an error page…
We are ready to share our code with you. It’s C# ASP.NET Core 2.2.