|
|
@ -87,7 +87,6 @@ namespace Volo.Abp.Account.Web.Pages.Account |
|
|
return Page(); |
|
|
return Page(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[UnitOfWork] //TODO: Will be removed when we implement action filter
|
|
|
|
|
|
public virtual async Task<IActionResult> OnPostAsync(string action) |
|
|
public virtual async Task<IActionResult> OnPostAsync(string action) |
|
|
{ |
|
|
{ |
|
|
await CheckLocalLoginAsync(); |
|
|
await CheckLocalLoginAsync(); |
|
|
@ -140,7 +139,6 @@ namespace Volo.Abp.Account.Web.Pages.Account |
|
|
return RedirectSafely(ReturnUrl, ReturnUrlHash); |
|
|
return RedirectSafely(ReturnUrl, ReturnUrlHash); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[UnitOfWork] |
|
|
|
|
|
public virtual async Task<IActionResult> OnPostExternalLogin(string provider) |
|
|
public virtual async Task<IActionResult> OnPostExternalLogin(string provider) |
|
|
{ |
|
|
{ |
|
|
var redirectUrl = Url.Page("./Login", pageHandler: "ExternalLoginCallback", values: new { ReturnUrl, ReturnUrlHash }); |
|
|
var redirectUrl = Url.Page("./Login", pageHandler: "ExternalLoginCallback", values: new { ReturnUrl, ReturnUrlHash }); |
|
|
@ -150,7 +148,6 @@ namespace Volo.Abp.Account.Web.Pages.Account |
|
|
return await Task.FromResult(Challenge(properties, provider)); |
|
|
return await Task.FromResult(Challenge(properties, provider)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[UnitOfWork] |
|
|
|
|
|
public virtual async Task<IActionResult> OnGetExternalLoginCallbackAsync(string returnUrl = "", string returnUrlHash = "", string remoteError = null) |
|
|
public virtual async Task<IActionResult> OnGetExternalLoginCallbackAsync(string returnUrl = "", string returnUrlHash = "", string remoteError = null) |
|
|
{ |
|
|
{ |
|
|
//TODO: Did not implemented Identity Server 4 sample for this method (see ExternalLoginCallback in Quickstart of IDS4 sample)
|
|
|
//TODO: Did not implemented Identity Server 4 sample for this method (see ExternalLoginCallback in Quickstart of IDS4 sample)
|
|
|
|