|
3 | 3 | <% FOREACH type IN slo_urls.keys.sort %> |
4 | 4 | <% slo_url = slo_urls.$type %> |
5 | 5 | <% if type == 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' %> |
6 | | -<p><a href="/logout-redirect?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (redirect binding)</a></p> |
| 6 | +<p><a id="logout-redirect" href="/logout-redirect?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (redirect binding)</a></p> |
7 | 7 | <% end %> |
8 | 8 | <% if type == 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP' %> |
9 | | -<p><a href="/logout-soap?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (soap binding)</a></p> |
| 9 | +<p><a id="logout-soap" href="/logout-soap?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (soap binding)</a></p> |
10 | 10 | <% end %> |
11 | 11 | <% if type == 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' %> |
12 | | - <form action="<% get_slo_post_url(idp_name) %>" method="POST"> |
| 12 | + <form id="logout-post2" action="<% get_slo_post_url(idp_name) %>" method="POST"> |
13 | 13 | <input type="hidden" name="SAMLRequest" |
14 | 14 | value="<% |
15 | 15 | get_logout_post(idp_name, |
|
20 | 20 | ) |
21 | 21 | %>"> |
22 | 22 | <input type="hidden" name="RelayState" value="<% idp_name %>"> |
23 | | - <input type="submit" value="Logout via POST"> |
| 23 | + <input id="logout-post" type="submit" value="Logout via POST"> |
24 | 24 | </form> |
25 | 25 | <% end %> |
26 | 26 | <% if type == 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact' %> |
27 | | -<!-- <p><a href="/logout-soap?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (soap artifact)</a></p> --> |
| 27 | +<!-- <p><a id="logout-artifact' href="/logout-soap?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>&idp_name=<% idp_name | html %>">Logout (soap artifact)</a></p> --> |
28 | 28 | <p>Logout (Artifact binding) - Unsupported</p> |
29 | 29 | <% end %> |
30 | 30 |
|
31 | 31 | <% END %> |
32 | 32 |
|
33 | | -<p><a href="/logout-local?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>">Logout (local)</a></p> |
| 33 | +<p><a id="logout-local" href="/logout-local?nameid=<% user_attributes.nameid | html %>&name_qualifier=<% name_qualifier | html %>&sp_name_qualifier=<% sp_name_qualifier | html %>&session=<% user_attributes.session | html %>">Logout (local)</a></p> |
34 | 34 |
|
35 | 35 | <% if message %> |
36 | 36 | <div id="hideMe"><p><% message %></p></div> |
|
45 | 45 | </tr> |
46 | 46 | <tr> |
47 | 47 | <td>Issuer</td> |
48 | | - <td><% user_attributes.issuer %></td> |
| 48 | + <td id='issuer'><% user_attributes.issuer %></td> |
49 | 49 | </tr> |
50 | 50 | <tr> |
51 | 51 | <td>EmailAddress</td> |
|
0 commit comments