As the title eludes, we run a multi tenant saas built on the asp.net webforms technology. One of the tenants is wanting to authenticate using their own identity provider, and at the same time we want to be able to authenticate internal users against active directory. The rest of the tenants still need to use the existing forms authentication.
I’ve been using this guide as a starting point. What I haven’t been able to figure out is how to inject which idp should be used to challenge the authentication. I am able to do this manually if I build out the request and including the idp query string parameter, but I don’t see that option when calling HttpContext.Current.GetOwinContext().Authentication.Challenge().
While not correct, I have tried providing an AuthorizationServerId in the startup OktaMvcOptions. That seems to end up with a 404 when the authentication is Challenged.
Any help would be much appreciated. Thanks,