Hi guys,
I'm trying to call jira api by rest template in my Java application, but its not working. The response code is 401: Basic authentication with passwords is deprecated.
idk But its work on postman. I tried both 2 cases:
-Using basic authen with username and password
-Add header
Any suggestion about this ?
Hi @Nguyễn Dương Li welcome on the community :).
You need to use access token as part of the basic auth. You can create it using this how-to article: https://confluence.atlassian.com/cloud/api-tokens-938839638.html
Let me know if it's working or not :)
@Martin Bayer _MoroSystems_ s_r_o__
sorry my mistake, I already use api_token, it works on postman but 401 when I call from my Java app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.