Hello
I am using jira-client npm, I want before doing any actual calls (creating tickets, find issues , ... ) to check whether the user has valid credentials for making API calls (for example maybe the token has expired or the credentials are incorrect).
Is there a separate call to check if the credentials are valid?, if not then I will inform the user that they need to provide valid once, else I will let them do what they want to do.
I am not talking necessary about jira-client node module .. I am talking in general (for example by using node fetch module which allows me to do normal fetch methods).
I know that if the credentials are incorrect I will get a message for that, but I want to check that in a special call.