public async Task Handle(AuthorizeResponseModel notification, CancellationToken cancellationToken) { if (!notification.IsAuthorized) { return; } var claims = GetClaims(notification).ToList(); var claimsIdentity = new ClaimsIdentity(claims, CookieAuthenticationDefaults.AuthenticationScheme); await Context.SignInAsync(new ClaimsPrincipal(claimsIdentity), true); }