ensures middleware is registered and the external cookie auth is registered.

This commit is contained in:
Shannon
2020-10-23 14:57:35 +11:00
parent 061529c40d
commit e7d22e24db
5 changed files with 37 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ namespace Umbraco.Web.BackOffice.Middleware
/// When an external login provider registers an error with <see cref="HttpContextExtensions.SetExternalLoginProviderErrors"/> during the OAuth process,
/// this middleware will detect that, store the errors into cookie data and redirect to the back office login so we can read the errors back out.
/// </remarks>
public class BackOfficeExternalLoginProviderErrorMiddlware : IMiddleware
public class BackOfficeExternalLoginProviderErrorMiddleware : IMiddleware
{
public async Task InvokeAsync(HttpContext context, RequestDelegate next)
{