I want to implement a Single sign on by connecting two apps. the requirements is that when a users logs into the my application, it uses its native authentication method, but fires API authentication to OKTA to automatically log in the user into the New App which I added to the OKTA application portal.
I am using the OKTA application link as a embed link in my local application iframe, so whenever the iframe is loading is always pulling the OKTA login widget for authentication, i want to bypass this authentication by using any auth api. I can see OKTA have api/v1/authn where i have to pass username and password of my OKTA user account and it returns a sessionToken with success message.
But i don’t know how to use this API response to get my requirement done. Appreciate your help!