How disable requesting access to Atlassian account when I aske to get an authorization code

Maksym Sholudko November 30, 2022

In order to get OAuth 2.0 (3LO) code

https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#1--direct-the-user-to-the-authorization-url-to-get-an-authorization-code 

I have to call :

GET API https://auth.atlassian.com/authorize

?audience=api.atlassian.com

&client_id=YOUR_CLIENT_ID

&scope=REQUESTED_SCOPE_ONE%20REQUESTED_SCOPE_TWO

&redirect_uri=https://YOUR_APP_CALLBACK_URL

&state=YOUR_USER_BOUND_VALUE

&response_type=code

&prompt=consent

 

After calling I get page where I need to click Agree-button and get needed code

How avoid to load that page (automatically proceed and get the code)

I tried to put  prompt=none but still I get page

 

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events