Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnRemoteFailure = (context) =>
- {
- // Redirect to an unauthorized page
- context.HandleResponse();
- _logger.LogWarning("Remote failure with message {Response}", context.Failure.Message);
- context.Response.Redirect($"/Account/AccessDenied?e=RemoteFailure");
- return Task.CompletedTask;
- }
Add Comment
Please, Sign In to add comment