
0kp09 (0kp09) asked a question.
Hello,
I have integrated JIRA and Okta. When I log into Okta first, I am automatically logged into JIRA without having to enter my credentials again. However, if I log into JIRA first, I am redirected to log into Okta again. I would like to eliminate the need for this second login.
Thank you,
Marcela

Hi! Great question. What I beleive you are referring to is the user experience difference between IdP initiated vs. Service Provider (SP) initiated.
In the example above, the Service Provider would be JIRA and the IdP is Okta. If navigating from Okta to JIRA is a single login beginning with Okta, this is the typical IdP initiated user experience. The login session is transferred to JIRA as a pre-existing trust relationship has been configured between the two.
Service Provider login will re-direct users back to Okta for authentication once they supply their username, as the domain will help JIRA identify the appropriate Okta org to re-direct the request to. Once re-directed, the user will need to login, where (if successful) they will be re-directed back to JIRA.
This second user experience is what is expected on how users would authenticate to JIRA, using Okta, when navigating to JIRA first. If they are in a browser session in which they are already authenticated, then I would probably expect this re-direct would not be needed. But if opening up an incognito window or something similar, you would need to authenticate again.
Please let me know if you have any further questions or concerns - thanks!