I have implemented Okta SSO in my asp.net MVC application and it works as expected for the single okta domain, But the issue is, if an okta user from different Okta domain wants to do login then it’s not supported. This is because I have to provide Okta domain information during startup
Wondering if there is any way to support multiple okta domains in a single asp.net mvc application using some kind of Okta to Okta configuration.
Hello Kiran,
Is the application you are creating something that you would intend to have published on the Okta Integration Network (OIN)?
If so, as Fuzzard pointed out currently the SDK doesn’t support multi-tenancy, but the OIN documentation does document how to handle the authorization code flow for a web app. Even if your application is not intended for the OIN, this type of solution might solve your case, depending on your requirements.
1 On the server running the Okta AD Agent, select Start > All Programs > Okta > Okta AD Agent > Okta
2 AD Agent Manager.
3 Select Domains.
4 In the drop-down menu, select a domain and then click Register.