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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.