Forums

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

OAuth2 parameters want them to be generic

Mohammed Zaki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 26, 2022

Hello Atlassian community,

I am developing a Jira application using NodeJS, I need to make the code generic ,as I want to make the username and password (API token) to be assigned from the currently logged in user from the website, I tried to follow the steps provided on the OAuth 2 but eventually I have the parameters that generate the API token hardcoded (client id, client secret, code, etc). please kindly can you tell me if there is such a way to assign those parameters from the currently logged in user instead of assigning these parameters as hardcoded in the code?

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
September 27, 2022

You need to be aware that there are user specific codes, and also secret codes for your app.  Your secret app codes will be needed for every user.

Mohammed Zaki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 28, 2022

Thanks for your reply, but please can you tell me how to make the user specific codes generic and not hardcoded 

Suggest an answer

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

Atlassian Community Events