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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get authentication code without showing popup

Hello Team,

Thanks,

( OAuth 2.0 authorization code grants (3LO) for apps) Our requirement is not to show auth popup. So please suggest how can we directly get authorization code without showing below popup on my page. If possible please share some example or code snippet for same.

Bypass Authorize.PNG

 

 

 

1 comment

Hello @Administrator Admin

Double checking through the documentation for 3LO authentication (https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/) I see it is stated that auth acceptance must be done through a screen (pop-up or transition, not programmatic):

  1. The app directs the user to an Atlassian screen that prompts them to grant access to their data on the Atlassian site. The screen displays the access being requested in the Atlassian product.
  2. The user grants (or denies) access to their data on the Atlassian site, via the screen.
  3. The user is directed back to the external service. If the user granted access, the external service can now access data (within the specified scopes) from the Atlassian site on the user's behalf.

Hello Fernando,

Thanks for your quick reply.

Yes, this works fine but we are searching for a solution where we don't want a screen for User grant.

 

Without showing screen we require auth code. So please suggest some solutions for the same.

Like Fernando Bordallo likes this

Hello again @Administrator Admin

I understand what you're after. However, given the documentation expresses the granting is done via the screen (explicitly documented) I can only imagine that, if there is an alternative solution to this problem, it would take some hacking around to find it. If you find this to be a hard requirement and can't find a solution, I'd advise contacting support through either a feature request.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

537 views 15 18
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