Create Login and Registration in Your ASP.NET Core MVC App
This tutorial walks you through setting up login and registration with ASP.NET Core MVC and Okta.
Create Login and Registration in Your ASP.NET Core MVC App
This tutorial walks you through setting up login and registration with ASP.NET Core MVC and Okta.
Madhav Phuyel
Hello Chris, I followed you article, however, when i click in login page (https://localhost:44366/Account/Login). I go an error saying "InvalidOperationException: Unable to resolve service for type ‘Okta.Sdk.IOktaClient’ while attempting to activate ‘CrudMVCCodeFirst.Controllers.AccountController’."
As you see here my URL port is “44366” so i did changed in Okta’s dashboard setting like so,
https://uploads.disquscdn.c…
Do you know what’s going on here?
Dan McNulty
This is an issue with the registration of your IOktaClient mate. ‘Registration’ as in the dependency injection. Assuming you are using core you need to make sure you’ve added the bit he suggests into startup.cs