session api not working

Harish R May 2, 2019

The below api was working before, but suddenly stopped working. Can any one explain me why it stopped and alternate API or guidelines to implement the same.

 

https://gani.atlassian.net/rest/auth/1/session

(/rest/auth/1/session)

It is always getting the following error, But the user name and password are correct.

{
"errorMessages": ["Login failed"],
"errors": {}
}

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2019
Harish R May 2, 2019

Hi @edwin 

Thanks for the reply, I understand the deprecation notice, I have already implemented the cookie based authentication. To implement the API token (https://confluence.atlassian.com/cloud/api-tokens-938839638.html?_ga=2.257976330.126705121.1556781355-2124198747.1551938020) I will follow the steps as mention in the link. 

Can I use this token id for different users(Jira users), because I can't ask all the users to create a API TOKEN before using client application which is in LOCAL. Please suggest me some better solution.

Suggest an answer

Log in or Sign up to answer