Forums

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

Jira Rest API - Basic authentication with passwords is deprecated

Henrique Abreu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2021

Hello.

I'm using the rest api from Kingswaysoft on a SSIS package. The package works fine on SSIS/Visual Studio, but when i deploy the package to SQL Server Integrations Services Catalogs, the package throws the error "Basic authentication with passwords is deprecated".

I have tried changing the connection string multiples times (Adding the API key, encoding it to Base64), but so far with no success. 

Any suggestions?

Thanks in advance!

 

h.png

1 answer

0 votes
Mikael Sandberg
Community Champion
September 30, 2021

Have a look at Basic auth for REST APIs. Instead of username:password you should now use username:token when using basic authentication. You can Base64 this if you like. 

Henrique Abreu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2021

I have tried that and still no luck unfortunately. My connection string looks like this:


ServiceName=Jira;PathToTokenFile=;AuthenticationMode=Basic;ConsumerKey=;ServerUrl=linkurl;ApiThrottleRate=0;CertificatePath=;Username=username:apitoken;ProxyMode=Manual;ProxyUsername=proxyusername;ProxyServer=proxyserver;ProxyServerPort=proxyport;ServiceTimeout=120;RetryOnIntermittentErrors=True;IgnoreCertificateErrors=False


Suggest an answer

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

Atlassian Community Events