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
4,365,175
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events