
FidanJ.42801 (Customer) asked a question.
We have a production environment with Tenant A. The clients have their own Tenant B.
On Tenant A we have an OIDC app through which users can log onto our web application. It is setup to have Tenant B as the Identity Provider so a user that clicks Log In on our web app gets taken to Tenant A's Okta Sign-On Url and can successfully login. It seems the two tenants are connected in an Org2Org way, however this whole setup was done a while ago by a different person.
I want to replicate this environment between Tenant A's sandbox (acting as client's tenant) and our DEV Tenant, however all of the docs that I found were aimed at SAML integration and I just can't get what I want with them.
Is anyone able to provide a few concise steps that I need to take on each tenant to achieve this? It seems the docs provided only make it more confusing

I have also added a rule when users with X domain try to log in, they should use the IDP that is setup on DEV tenant with details from Tenant A (sandbox). Then when the user tries to login through DEV Tenant's login url, they get taken to Tenant A (sandbox)'s login URL and then they get a "Unable to Sign In" with code E0000004.
Henry Esquivel 17 hours ago
Hello @Fidan
I hope you are having a great day
Thank you for posting, you can find the integration guide at the following link: https://help.okta.com/en/prod/Content/Topics/Provisioning/org2org/org2org-integrate.htm
Have a great day ahead
Henry E.
Okta Inc