Hi,
based on documentation available on Atlassian sire , I have created an API token for my cloud jira account.I am trying to Authorize using Auth type Basic Auth,User:email Password: Token. But unable to make a successful authorization request. Have tried in keeing same data in Header->Authorization section with Basic and Token. But still error remains same as
"Basic authentication with passwords is deprecated. For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/"
appreciate your help to get resolve this issue. How can I make successful authentication to Jira using REST API Token mechanism in POSTMAN.
Hi Curtis,
Thank You for your reply. But I tried the same steps as you mentioned but not successful.
when I send request as POST by calling rest api the Header is automatically considering the Authorization param. May be its a feature default. I am getting same error as mentioned below. somehow I could not able to upload the error image of postman. (If its visible its fine)
REST API which I am calling was: https://<mydomainname>.atlassian.net/rest/auth/1/session
POST method. No body mentioned. Only Authorization data mentioned as per your steps. I am receiving below 401 Error message.
"Basic authentication with passwords is deprecated. For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/"
Any suggestion what mistake I am doing. Please help here.
Thank You.
You are getting that message, because you have your password in the password field. That is no longer supported, due to new 2-factor authentication validations.
You need to generate an API token. Copy the generated token and enter that into the password field in Postman.
Hi Curtis , Just reconfirm it.Its not my matladatam password I have copied ,I copied the API token itself which was got generated for my user.
The mentioned error I am getting post sending the request with API token itself.
Hope you get it now.
Awaiting for your suggestion to get resolve my issue.
Thanks in Advance
Reposting correct sentence
"It's not my atlassian password"
Are you logging in through an organization? You may need to put your email as the username.
No with my gmail account .
I am keeping username as my gmail id
And password API token in Authorization with type as Basic auth
DId you solve this issue? I facing the same, my error messege is "Client must be authenticated to access this resource."
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get the most out of Jira Service Management
Solve customer problems efficiently and deliver outstanding service experiences.
Learning Path
Adopt ITSM practices to deliver exceptional service
Become familiar with the principles and practices that drive ITSM. Then, learn how to configure and use Jira Service Management to implement them.
Atlassian Certified Associate
Jira Service Management Agent Essentials certification
Prove you know what's essential to providing efficient and resolution-focused service in Jira Service Management.