Hi guys!
It looks like cookie based authentication is deprecated for Jira Cloud for 2+ years:
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.