If you look at Okta Session API, you will find methods to perform the following:
- authenticate your user and get session token
- exchange session token for session cookie by hitting your application embedded link - https://developer.okta.com/docs/guides/session-cookie/overview/#retrieving-a-session-cookie-by-visiting-an-application-embed-link
That should do a trick, I think