I'm not being redirected to the authorization page, after logging in i'm redirected to the callback URL with the authorization code as a parameter.
With the code parameter i can get the access token, but it does not work cause the app is not connected to Atlassian due to the missing redirection to the authorization page.
This is the page i'm not being redirected after loggin in.
This is the page (callback URL) i'm being redirected after logging in.