Need to login to rocket chat inside iframe

I am using odoo 15.0 and has created client app in okta and was able to sign separately as well us i have configured okta to my rocket chat server and was able to sign in separately.
My use case is i am embedding rocketchat iframe inside my odoo app. I have to login in to the rocket chat app and go to the channel i am calling. But the login is not happening directly. We have to go through the login screen flow only. When this 2 applications are in okta what is the method to have a seamles login in rocket chat for same user