mmacneil / AngularASPNETCoreOAuth

Sample project demonstrating user authentication and identity with Angular, Asp.Net Core and IdentityServer4
https://fullstackmark.com/post/21/user-authentication-and-identity-with-angular-aspnet-core-and-identityserver
MIT License
355 stars 231 forks source link

AccountController cannot resolve action 'Challenge' #3

Open Shaun-Sheppard opened 5 years ago

Shaun-Sheppard commented 5 years ago

When I had loaded the AuthServer solution I'm seeing an error in my IDE (Rider) that says 'Cannot resolve action 'Challenge' on line 48 of the AccountController;

return RedirectToAction("Challenge", "External", new { provider = vm.ExternalLoginScheme, returnUrl });

There appears to be a missing External Controller?

I'm also seeing a similar error on line 79 and 120, 'Cannot resolve view Redirect'

return View("Redirect", new RedirectViewModel { RedirectUrl = model.ReturnUrl });

There is no 'Redirect' view inside the folder 'Views/Account'

mcabram commented 5 years ago

@shepparddigital I guess you can try it in VS instead of Jetbrains Rider. It might help you.

a-z-hub commented 4 years ago

In example missed Controller because no external logins exists. I'm not sure, but looks like you can you example from other repository