How to skip the login page of kibana from custom_react_App

I installed opendsitro through docker (version 7.3.2) and I am developing one custom_react_App with basic authentication for my custom users. Then created few internal users in kibana and passing the same internal users’ information as the login credentials for my custom_react_App to authenticate. After login to my custom_app, I am trying to fetch the dashboards using iframe embedded code in custom_react_App but it is redirecting to the kibana login page. I don’t want the user again pass the username and password. So, I tried by passing the username and password to iframe src to skip the login page of kibana like “[https://user:pass@example.com/app/kibana#/dashboard/{id}]” but that is not working.
Is there any other way to skip the login page for kibana.