Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Oauth2 Something went wrong while authorizing

Hello! I am trying to set up an Oauth2 app to connect with a web app (Django backend with a Next.js frontend). We already have an app running in production, so I doubt I made an error in the code; I believe there's a mistake somewhere in the setup.


I allowed the entire set of permissions (since I didn't know what exactly we needed).

Once I get past allowing the app for the current user, I get an error screen that says just "Something went wrong".  After clicking the Allow button, the browser navigates to:

and the response is {"error":{"category":"generic"}}


On the frontend, I'm following this URL:${YOUR_USER_BOUND_VALUE}&response_type=code&prompt=consent


Where I filled in the YOUR_USER_BOUND_VALUE beforehand.


I've taken a look and client id and secret seem to be properly filled in at the backend. The API calls seem to run without errors.


I even tried setting up ngrok in order to have https urls, but no change.

I've shared the app, and I'm using the same email address from the app I'm trying to authorize as the one that owns the Confluence app. 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

915 views 12 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you