Forums

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

Username and password appear to be cached

Jeff Armstrong October 7, 2024

I am connecting to a Jira Data Center via a C++ application using Basic Authentication. I am able to successfully connect and query the server for project and issue information as expected. If the username and/or password is incorrect on the initial query, the call fails with an HTTP_STATUS_DENIED error. However, if the username and password is CORRECT on the initial query, subsequent queries are successful regardless of the values for the username and password.

I am wondering if this is by design, or if I am doing something wrong.

1 answer

0 votes
Radek Dostál
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.
October 8, 2024

The problem is with whatever your application is doing, or, you're querying endpoints which don't require authentication (plenty such endpoints).

Jira checks credentials on each request. It must, it doesn't know that you are the same client, it has no other way of knowing other than checking credentials.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.16.0
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events