Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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:

https://api.atlassian.com/oauth2/authorize/consent/grant?state=hKFo2SBoWncwQ3RFV2M3WWdfVGVEdnlDWG9iREpPWHBHQllPYaFup2NvbnNlbnSjdGlk2SBWUHRmMFVna1VzSHlYTmhIUndxRGR6eWd3anJtR0pPUKNjaWTZIG5Fa3FESUk0NHVhRHBTVkEzbnpKRm5PZVE2bGFzQ1FX&auth0Url=https://auth.atlassian.com

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

 

On the frontend, I'm following this URL:

https://auth.atlassian.com/authorize?audience=api.atlassian.com&client_id=REDACTED_CLIENT_ID&scope=read%3Ame%20read%3Aaccount&redirect_uri=https%3A%2F%2Fa467-109-93-4-110.ngrok.io%2Fapi%2Fintegrations%2Fconfluence%2Fauthorize%2F&state=${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. 

1 answer

0 votes
Simone Zennaro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jul 02, 2023

Same issue trying to configure AWS Appflow with Jira Connector, although I gave all the permissions (and granulars too) to the Jira App.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events