Hi guys!
It looks like cookie based authentication is deprecated for Jira Cloud for 2+ years:
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/
Is this also applies to same-browser cookie-based auth with cloud.session.token?
Because it still works for us. We just send a Get request to /rest/auth/1/session and then access any endpoint.
/rest/auth/1/session
Could you please give some recommendations if we should use API Token authentication instead or if everything will work this way?
Hello @Elvira Safina ,
Browser APIs (AKA: web APIs) is built-in to the browser and work via a web request using the browser's active session token for the authentication, so if you are logged into Jira via the browser's session the API call will work over that session without any additional login requirements as the session header is passed along from the browser built-in API functionality.
Alternatively, if you are connecting from a scripted function or external application (i.e. curl command from terminal or app like Postman), this will require the API token to pass the additional credentials into the call for the external verification.
Regards,Earl
Got it, thanks, Earl
It looks like you're new here. Sign in or register to get started.