I am trying to implement Auth0 with MVC but when i am trying to External Login method after that i redirected to “ChallengeResult” class there is one method “ExecuteResult” but in this method my page is not redirecting to “Google Authentication Page”
I have code like :-
public override void ExecuteResult(ControllerContext context)
{
var properties = new AuthenticationProperties() { RedirectUri = RedirectUri };
if (UserId != null)
{
properties.Dictionary[“XsrfId”] = UserId;
}
context.HttpContext.GetOwinContext().Authentication.Challenge(properties, LoginProvider);
}
please suggest me how to implement this or explain me step by step process of Auth0
Thank you in advance