New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCPWare Wise Turtle Pull Request #6

Closed
wants to merge 41 commits into
base: master
from
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Null the AppUser session value in case of unsuccessful status IdP res…

…ponse
  • Loading branch information...
ncarandini committed Oct 26, 2017
commit c010c3691b8de2454e54fc37e4a4cf1e95517e13
@@ -45,6 +45,8 @@ public ActionResult Index(FormCollection formCollection)
if (!idpSaml2Response.IsSuccessful)
{
Session["AppUser"] = null;
log.Error($"Error on ACSController [HttpPost]Index method: La risposta dell'IdP riporta il seguente StatusCode: {idpSaml2Response.StatusCodeInnerValue} con StatusMessage: {idpSaml2Response.StatusMessage} e StatusDetail: {idpSaml2Response.StatusDetail}.");
ViewData["Message"] = "La richiesta di identificazione è stata rifiutata.";
ViewData["ErrorMessage"] = $"StatusCode: {idpSaml2Response.StatusCodeInnerValue} con StatusMessage: {idpSaml2Response.StatusMessage} e StatusDetail: {idpSaml2Response.StatusDetail}.";
ProTip! Use n and p to navigate between commits in a pull request.