Hello
I've created my own website on php and I'd like to make authorization on it through JIRA. Is it possible?
I noticed that I can use CURL() with url /rest/auth/1/session - if I pass in CURL correct username and password it returns object with this user session. So, I assume I can use it for authorization on my own website. But How can I receive session from jira if I was already authorized in JIRA website?
E.g.: opening my website it should check if user was authorized in jira. If yes- show my website pages, if no- redirect to jira login screen and after successfull authorization- return to my website.
Thanks,
Fyodor