Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Which Authentication I can use for Confluence REST API requests?

Yash Chaudhari August 27, 2018

As mentioned on https://developer.atlassian.com/cloud/confluence/security-overview/ following are three different Authentication available for Confluence:

1. Basic authentication

2. Atlassian Connect JWT authentication

3. Atlassian Connect OAuth 2 JWT token exchange

Currently I am using first that is Basic Authentication for REST API requests. Can I use Atlassian Connect JWT authentication and Atlassian Connect OAuth 2 JWT token exchange for REST API request from my app or these two are only for Atlassian Connect app? 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
August 28, 2018

Hi! 

I am server side using app links like this

ApplicationLink applicationLink = ComponentAccessor.getComponentOfType(ApplicationLinkService.class).getPrimaryApplicationLink(JiraApplicationType.class);

But my app works with other Atlassian products, hence it based on SAL API. 

Therefore I don't need to think about Oauth connection, it is delegated to admin/configuration side.

 

Hope it helps

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events