Forums

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

JMWE callRest - get OAUTH 2.0 token

DEW June 5, 2024

Hi, I'm trying to make an external REST API call. I need to get the OAUTH 2.0 token to be able to call the endpoint. Is there anyone who faced the same issue?

Screenshot 2024-06-05 at 14.33.13.png

2 answers

1 accepted

0 votes
Answer accepted
DEW June 6, 2024

I have found a solution:

Screenshot 2024-06-07 at 8.52.04.png

0 votes
David Fischer
Community Champion
June 5, 2024

Hi @DEW 

Unfortunately, I don't believe you'll be able to use OAuth2 to identify yourself against a third party rest API, because OAuth2 is designed to be used within a browser, with user interaction, and JMWE scripts run within the JMWE server infrastructure. 

However, most rest APIs offer a way to establish server to server communication, using a different authentication mechanism. 

DEW June 6, 2024

Hi, thank you for the response. Unfortunately, the API provider does not have any other authentication mechanism.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events