Guest User

Untitled

a guest
Oct 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. OnRemoteFailure = (context) =>
  2. {
  3.  
  4. // Redirect to an unauthorized page
  5. context.HandleResponse();
  6. _logger.LogWarning("Remote failure with message {Response}", context.Failure.Message);
  7. context.Response.Redirect($"/Account/AccessDenied?e=RemoteFailure");
  8. return Task.CompletedTask;
  9. }
Add Comment
Please, Sign In to add comment