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.
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
Jira Service Management Fundamentals
These short, self-paced courses will help you get up and running in Jira Service Management in just 90 minutes.
Learning Path
ITSM
Use this path to build your IT Service Management knowledge and earn an Atlassian certification.
Setting Up ITSM Projects in Jira Service Management
This training series helps you get started in Jira Service Management quickly with the new ITSM project template.