Forums

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

How to use username and password to generate token or how to get that user authenticated

Esther Evangeline. V January 13, 2021

We are creating an user interface for Cloud JIRA to update and create test cases in JIRA via API . The user will be entering user name and password for the login into user Interface.In the API authentication is done via user email Id and API token token but in the UI user will be providing only his username and password. So we need a way to authenticate the user using the API with only username and password from the user.

1 answer

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2021

Hello @Esther Evangeline. V ,

If I understand correctly, you are building a web application to to update and create test cases in JIRA and you are asking about possible ways to authenticate.

If this is the case, then there are different ways to proceed depending on what you are building. However, as written in 

Which authentication method should I use?

 

However, as mentioned in the OAuth for REST APIs (Jira platform) documentation page, if you are not building a connect app OAuth 2.0 (3LO) should be preferred above other authentication methods:

 

For more details about differences and implementation, please review below links:

 

Finally, please notice that this might not be the best place to get help on development related questions. In case further help will be needed on this topic, you might want to refer to the resources listed in https://developer.atlassian.com/resources:

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events