I’ve got the Okta.AspNet package working with a barebones (i.e., created w/No Authentication) ASP.NET (not Core) MVC app. Works great, and was easy to setup!
Problem is, we’ve got some existing systems that are already using ASP.NET Identity to manage users. Some users are part of our org and some aren’t, so supporting the former via Okta and the latter as-is would be ideal.
I tried integrating the Okta.AspNet package into a fresh ASP.NET MVC app created with Individual User Accounts. It shows up as an external login option (the button is labeled “OpenIdConnect”, but that’s minor). I can click it, get redirected to our Okta login page, login, and jump back. But while all my claims appear to be pulled back (as seen in a Fiddler trace),
AccountController.ExternalLoginCallback() always returns null.
AuthenticationManager.AuthenticationResponseGrant is null, which probably explains that, but it means my login info isn’t making it through the pipeline.
I realize I’ll probably need to post the
ConfigureAuth() contents, but wanted to quickly check whether this is a supported config at all, or if someone else has hit this and knows of something simple I might’ve missed. Thanks!