How to override the Okta asp.net core middleware to change the Okta domain,ClientId and ClientSecret

I have 2 okta applications in 2 different okta organisations. I am using Okta.AspNetCore package to set up the Okta middleware. How do I set the middleware so that it can work with 2 different Okta applications in 2 different organizations.I can’t override the settings that are once set in startup.cs file. Is there any way to do that ? or I have to create 2 different WebAPI projects with 2 different okta middleware being set using startup.cs ?

Hey @Pallav how did you get to mitigate this issue?