OAuth2 Authentication Setup issue with confluence on-prem server

Kai Gao November 27, 2022

When we try to set up OAuth2 authentication in confluence on-prem server using the below steps, we get the 400 Bad request error when requesting the Authorization code.

To create an incoming link.

  1. Login into confluence on-prem server  and Go to image007.png > General Configuration > Application links.
  2. Select Create link.
  3. Select External application, and then choose Incoming as the direction.


4. After this we’ll get client id and client secret of application link.



5. Request Authorization code by redirecting the user to the /rest/oauth2/latest/authorize page with the URL.


6. After hitting this URL we’re getting 400 Bad Request error on browser.


In addition, we also posted this ticket on the Atlassian Support Team and response was they don’t provide any technical assistance. We can connect with their partners for a chargeable demo.

Referring this documentation to setup OAuth2 Authentication on Confluence on-prem server.

we would appreciate if you could point us in the right direction on how to resolve this issue and set up the OAuth2 authentication on the Confluence on-prem server.


1 answer

0 votes
Kai Gao December 1, 2022

@Atlassian Support  We are waiting for your response so could you please look into it and guide me how can we resolve this issue.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events