public ActionResult Login(DevLoginViewModel model, string returnUrl) { var redirectUrl = WebHelpers.AppendParameter(ConfigOptions.Value.SecureAuthUrl, "ReturnUrl", $"https://{Request.Host.Host}/Account/ExternalLoginCallback"); return(ExternalLogin(AuthenticationTypeExternalCookie, redirectUrl)); }
public ActionResult LoginPostback(string returnUrl) { var redirectUrl = WebHelpers.AppendParameter(ConfigOptions.Value.SecureAuthUrl, "ReturnUrl", $"https://{Request.Host.Host}/"); return(new RedirectResult(redirectUrl)); }