UseOktaMvc Okta Domain switching

I have recently added a 2nd branded login page within Okta for a specific client and have a custom domain for them. When I attempt to log in with my new login page, I am rerouted to my main custom log in page rather than being allowed in. It appears from what I can tell, that the [Authorize] is what is failing and sending me back. I checked within my app.UseOktaMvc() and the only listed OktaDomain is my original custom domain. I have tried to do an app.use to switch the OktaMvcOptions to allow for me to point at a different okta domain but still run into the issue of only every being able to log in through one of the two log in pages(the other always routes me back to the working login). Any suggestions as to how I would be able to allow for 2 different urls within the OktaDomain?

For context, we are trying to allow logins from x.{company}.com as well as y.{company}.com with both coming from the same okta app just 2 custom branded logins.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.