The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Using JSESSIONID to bypass SSO

Vivian Escalante
Contributor
October 9, 2020

I've been following this documentation, but when I try to hit the login page it still redirects me to the SSO login page.

First call:

curl -u <user>:<password> -X POST -d '{"username": "<user>","password": "<password>"}' -H "Content-Type: application/json" https://<base_url>/rest/auth/1/session

I grab the JSESSIONID value from the response and then try to hit the login page

curl -b "JSESSIONID=<JSESSIONID_value>" https://<base_url>/login.jsp -I

This redirects me to the SSO login page. Anything I'm doing wrong here? Thanks! 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question