AngularASPNETCoreOAuth icon indicating copy to clipboard operation
AngularASPNETCoreOAuth copied to clipboard

AccountController cannot resolve action 'Challenge'

Open Shaun-Sheppard opened this issue 5 years ago • 2 comments

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'

Shaun-Sheppard avatar Jun 29 '19 10:06 Shaun-Sheppard

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

mcabram avatar Aug 19 '19 06:08 mcabram

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

a-z-hub avatar Nov 26 '19 18:11 a-z-hub