https://issues.shibboleth.net/jira/browse/SSPCPP-605
[shibboleth/cpp-sp.git] / configs / sessionError.html
index 5331c6f..7ccf17b 100644 (file)
@@ -5,36 +5,41 @@
        
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" type="text/css" href="<shibmlp styleSheet/>" />
-       <title>Session Creation Failure</title>
+       <title><shibmlp errorType/></title>
 </head>
 
 <body>
-<div class="head">
-<img src="<shibmlp logoLocation/>" alt="Logo" />
-<h1>Session Creation Failure</h1>
-</div>
-
-<p>The inter-institutional access system was unable to successfully build a
-login session for you at <shibmlp now /></p>
 
-<shibmlpif originContactName>
-<h3><u>Identity Provider Support Information</u></h3>
-<div>Contact: <shibmlp originContactName/> </div>
-<div>E-Mail: <a href="mailto:<shibmlp originContactEmail/>"><shibmlp originContactEmail/></a></div>
-</shibmlpif>
-<shibmlpif originErrorURL>
-<div>URL: <a href="<shibmlp originErrorURL/>"><shibmlp originErrorURL/></a></div>
+<shibmlpif logoLocation>
+<img src="<shibmlp logoLocation/>" alt="Logo" />
 </shibmlpif>
+<h1><shibmlp errorType/></h1>
+
+<p>The system encountered an error at <shibmlp now /></p>
 
 <p>To report this problem, please contact the site administrator at
 <a href="mailto:<shibmlp supportContact/>"><shibmlp supportContact/></a>.
 </p>
 
 <p>Please include the following message in any email:</p>
-<p class="error">Session creation failure at (<shibmlp requestURL/>)</p>
-<p><shibmlp errorType/></p>
+<p class="error"><shibmlp errorType/> at (<shibmlp requestURL/>)</p>
+
+<p><shibmlp errorText/></p>
+
+<shibmlpif statusCode>
+       <p>Error from identity provider:</p>
+       <blockquote>
+               <strong>Status:</strong> <shibmlp statusCode/><br>
+               <shibmlpif statusCode2>
+                       <strong>Sub-Status:</strong> <shibmlp statusCode2/><br/>
+               </shibmlpif>
+               <shibmlpif statusMessage>
+                       <strong>Message:</strong> <shibmlp statusMessage/><br/>
+               </shibmlpif>
+       </blockquote>
+</shibmlpif>
 
 </body>
 </html>