CINXE.COM
Attribute-Viewer
<!DOCTYPE html> <html lang=""> <head> <title>Attribute-Viewer</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8" /> <!-- Site Icons --> <link rel="shortcut icon" href="/site_icons/favicon.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="/site_icons/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="57x57" href="/site_icons/apple-touch-icon-57x57.png" /> <link rel="apple-touch-icon" sizes="72x72" href="/site_icons/apple-touch-icon-72x72.png" /> <link rel="apple-touch-icon" sizes="76x76" href="/site_icons/apple-touch-icon-76x76.png" /> <link rel="apple-touch-icon" sizes="114x114" href="/site_icons/apple-touch-icon-114x114.png" /> <link rel="apple-touch-icon" sizes="120x120" href="/site_icons/apple-touch-icon-120x120.png" /> <link rel="apple-touch-icon" sizes="144x144" href="/site_icons/apple-touch-icon-144x144.png" /> <link rel="apple-touch-icon" sizes="152x152" href="/site_icons/apple-touch-icon-152x152.png" /> <link rel="stylesheet" href="/styles.css" type="text/css"> <!-- Switch Styles--> <link href="/css/package.css" rel="stylesheet"> <link href="/css/style.css" rel="stylesheet"> <script src="/js/scripts.min.js"></script> </head> <body class=""> <div class="container swi-container"> <div class="row swi-row-centered"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9 swi-col-centered"> <div class="swi-subsite-logo-container"> <a href="https://www.switch.ch/"><img height="46" width="180" src="/images/logo_switch.svg" alt=""></a> </div> <div class="panel panel-default"> <!-- Default panel contents --> <div class="panel-heading"> AAI Attribute Viewer <div class="panel-default pull-right"></div> </div> <div class="panel-body"> <!-- begin: #col3 static column --> <!-- begin: main content --> <h1>SAML</h1> <p> The AAI Attribute Viewer displays all attributes that are available about an AAI user. All user information is stored 10 days in a log file before it is automatically deleted. </p> <p> Please select your Home Organization and log in to see the <a href="http://switch.ch/aai/attributes/" target="_blank">AAI attributes</a> that are available for you. </p> <!-- EMBEDDED-WAYF-START --> <script type="text/javascript"> // To use this JavaScript, please access: // https://wayf.switch.ch/SWITCHaai/WAYF/embedded-wayf.js/snippet.html // and copy/paste the resulting HTML snippet to an unprotected web page that // you want the embedded WAYF to be displayed //////////////////// ESSENTIAL SETTINGS //////////////////// // URL of the WAYF to use // Examples: "https://wayf.switch.ch/SWITCHaai/WAYF", "https://wayf-test.switch.ch/aaitest/WAYF"; // [Mandatory] //var wayf_URL = "https://wayf.switch.ch/SWITCHaai/WAYF"; //var wayf_URL = "https://wayf.switch.ch/SWITCHaai/WAYF"; //var wayf_URL = "https://wayf.switch.ch/aaitest/WAYF"; var wayf_URL = "https://wayf.switch.ch/SWITCHaai/WAYF"; // EntityID of the Service Provider that protects this Resource // Examples: "https://econf.switch.ch/shibboleth", "https://dokeos.unige.ch/shibboleth" // [Mandatory] var wayf_URL = "https://wayf.switch.ch/SWITCHaai/WAYF"; // EntityID of the Service Provider that protects this Resource // Examples: "https://econf.switch.ch/shibboleth", "https://dokeos.unige.ch/shibboleth" // [Mandatory] var wayf_sp_entityID = "https://attribute-viewer.aai.switch.ch/shibboleth"; // Session Initiator URL of the Service Provider // Examples: "https://econf.switch.ch/Shibboleth.sso/DS", "https://dokeos.unige.ch/Shibboleth.sso/DS" // [Mandatory, if wayf_use_discovery_service = false] //var wayf_sp_handlerURL = "https://attribute-viewer-test.aai.switch.ch/Shibboleth.sso"; var wayf_sp_handlerURL = "https://attribute-viewer.aai.switch.ch/Shibboleth.sso"; //////////////////// RECOMMENDED SETTINGS //////////////////// // URL on this resource that the user shall be returned to after authentication // Examples: "https://econf.switch.ch/aai/home", "https://olat.uzh.ch/my/courses" // [Mandatory] var wayf_return_url = "https://attribute-viewer.aai.switch.ch/aai/"; // Width of the embedded WAYF in pixels or "auto" // This is the width of the content only (without padding and border). // Add 2 x (10px + 1px) = 22px for padding and border to get the actual // width of everything that is drawn. // [Optional, default: "auto"] // Whether to show the checkbox to remember settings for this session // [Optional, default: true] var wayf_show_remember_checkbox = false; // Font size // [Optional, default: 12px] var wayf_font_size = 17; //////////////////// ADVANCED SETTINGS //////////////////// // Session Initiator URL of the Service Provider // Examples: "https://econf.switch.ch/Shibboleth.sso/Login", "https://dokeos.unige.ch/Shibboleth.sso/DS" // This will implicitely be set to wayf_sp_samlDSURL = wayf_sp_handlerURL + "/Login"; // or will be set automatically if the page where the Embedded WAYF is placed is called // with a 'return' and an 'entityID' GET Arguments // [Optional, if wayf_use_discovery_service = true // or if wayf_additional_idps is not empty, default: commented out] //var wayf_sp_samlDSURL = "https://attribute-viewer-test.aai.switch.ch/Shibboleth.sso/Login"; var wayf_sp_samlDSURL = wayf_sp_handlerURL + "/DS"; // [Experimental Feature] If enabled, the Embedded WAYF will activate the // improved drop down list feature, which will transform the list of // organisations into a search-field while keeping its original function as // a select list. To make this work, the JQuery library will dynamically be // loaded if it is not yet present. Additionally, another Javascript and CSS // file are loaded to perform the actual transformation. // [Optional, default: false] var wayf_use_improved_drop_down_list = true; // Whether to hide the WAYF after the user was logged in // This requires that the _shib_session_* cookie is set when a user // could be authenticated // If you want to hide the embedded WAYF completely, uncomment // the property and set it to "". This then won't draw anything // [Optional, default commented out: You are already logged in] var wayf_logged_in_messsage = 'You are already logged in.<br /> <a href="/aai/">Access theAAI Attribute Viewer</a>'; // EntityIDs, Names and SSO URLs of Identity Providers from other federations // that shall be added to the drop-down list // The IdPs will be displayed in the sequence they are defined // [Optional, commented out by default] // var wayf_additional_idps = [ ]; // Example of how to add Identity Provider from other federations // var wayf_additional_idps = [ // // {name:"International University X", // entityID:"urn:mace:switch.ch:SWITCHaai:internation.university.org", // SAML1SSOurl:"https://int.univ.org/shibboleth-idp/SSO"}, // // {name:"Some Other University", // entityID:"https://other.univ.edu/idp/shibboleth", // SAML1SSOurl:"https://other.univ.edu/shibboleth-idp/SSO"}, // ]; //wayf_disable_remote_idp_logos = true; var wayf_use_small_logo = false; // Whether to show the edu-ID logo instead of the AAI logo // [Optional, default: false] var wayf_use_eduid_logo = true; // Whether to load Identity Providers from the Discovery Feed provided by // the Service Provider. // IdPs that are not listed in the Discovery Feed and that the SP therefore is // not are able to accept assertions from, are hidden by the Embedded WAYF // IdPs that are in the Discovery Feed but are unknown to the SWITCHwayf // are added to the wayf_additional_idps. // The list wayf_additional_idps will be sorted alphabetically // The SP must have configured the discovery feed handler that generates a // JSON object. Otherwise it won't generate the JSON data containing the IdPs. // [Optional, commented out by default] var wayf_use_disco_feed = true; // URL where to load the Discovery Feed from in case wayf_use_disco_feed is true // [Optional, commented out by default] var wayf_discofeed_url = "/Shibboleth.sso/DiscoFeed"; //////////////////// ADDITIONAL CSS CUSTOMIZATIONS //////////////////// // To further customize the appearance of the Embedded WAYF you could // define CSS rules for the following CSS IDs that are used within the // Embedded WAYF: // #wayf_div - Container for complete Embedded WAYF // #wayf_logo_div - Container for logo // #wayf_logo - Image for logo // #wayf_intro_div - Container of drop-down list intro label // #wayf_intro_label - Label of intro text // #IdPList - The form element // #user_idp - Select element for drop-down list // #wayf_remember_checkbox_div - Container of checkbox and its label // #wayf_remember_checkbox - Checkbox for remembering settings for session // #wayf_remember_checkbox_label - Text of checkbox // #wayf_submit_button - Submit button // // Use these CSS IDs carefully and at own risk because future updates could // interfere with the rules you created and the IDs may change without notice! </script> <script type="text/javascript" src="https://wayf.switch.ch/SWITCHaai/WAYF//embedded-wayf.js?timestamp=1732702100"></script> <!-- <script type="text/javascript" src="https://wayf.switch.ch/aaitest/WAYF/embedded-wayf.js"></script> <script type="text/javascript" src="https://wayf.switch.ch/SWITCHaai/WAYF/<? echo $lang ?>/embedded-wayf.js"></script> <script type="text/javascript" src="https://wayf.switch.ch/SWITCHaai.new/WAYF/<? echo $lang ?>embedded-wayf.js"></script> --> <script> function initiateLogin(authnContextClass) { var url = authnContextClass; window.location = url; } </script> <noscript> <!-- Fallback to Shibboleth DS session initiator for non-JavaScript users You should set the value of the target GET parameter to an URL-encoded absolute URL that points to a Shibboleth protected web page where the user is logged in into your application. --> <p> <strong>Login:</strong> Javascript is not available for your web browser. Therefore, please <a href="/Shibboleth.sso/DS?target=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2F">proceed manually</a>. </p> </noscript> <!-- EMBEDDED-WAYF-END --> <p style="margin-top: 20px;"> Alternatively, log in using an <a href="https://wayf-test.switch.ch/aaitest/WAYF?entityID=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2Fshibboleth&return=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2FShibboleth.sso%2FDS-EW%3FSAMLDS%3D1"> AAI Test Home Organisation </a> or the <a href="/eds">Shibboleth Embedded Discovery Service</a>. </p> <p> Use the links below to display the Embedded WAYF in another language. </p> <p> Display the Embedded WAYF on this page in: <br /> <a href="?lang=en">In English</a> | <a href="?lang=fr">In French</a> | <a href="?lang=de">In German</a> | <a href="?lang=it">In Italian</a> </p> <p> Test central WAYF: <br /> <a href="https://wayf.switch.ch/SWITCHaai/WAYF/en?entityID=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2Fshibboleth&return=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2FShibboleth.sso%2FDS%3FSAMLDS"> In English </a> | <a href="https://wayf.switch.ch/SWITCHaai/WAYF/fr?entityID=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2Fshibboleth&return=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2FShibboleth.sso%2FDS%3FSAMLDS"> In French </a> | <a href="https://wayf.switch.ch/SWITCHaai/WAYF/de?entityID=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2Fshibboleth&return=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2FShibboleth.sso%2FDS%3FSAMLDS"> In German </a> | <a href="https://wayf.switch.ch/SWITCHaai/WAYF/it?entityID=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2Fshibboleth&return=https%3A%2F%2Fattribute-viewer.aai.switch.ch%2FShibboleth.sso%2FDS%3FSAMLDS"> In Italian </a> </p> <p> Login with MFA: <br /> <a href="https://attribute-viewer.aai.switch.ch/Shibboleth.sso/Login?entityID=https://eduid.ch/idp/shibboleth&target=/aai/&authnContextClassRef=https://refeds.org/profile/mfa"> Initiate MFA login with SWITCH edu-ID </a> | <a href="https://attribute-viewer.aai.switch.ch/Shibboleth.sso/Login?entityID=https://test.eduid.ch/idp/shibboleth&target=/aai/?test=true&authnContextClassRef=https://refeds.org/profile/mfa"> Initiate MFA login with SWITCH edu-ID Test </a> </p> </div> <div class="panel-body"> <h1>OpenID Connect</h1> <p style=" text-align: left;"> Please select the OpenID Connect Provider you want to log in with: </p> <!-- This is there, because getString wasn't working.--> <div class="spacer"></div> <div style="margin-bottom: 15px; padding-right: 15px;"> <a class="btn btn-default" style="width: calc(100% + 3px);" href="https://attribute-viewer.aai.switch.ch/aai-oidc/redirect_uri?iss=https://login.test.eduid.ch/&target_link_uri=https://attribute-viewer.aai.switch.ch/aai-oidc/"> Login with SWITCH edu-ID Test </a></br> </div> <div style="margin-bottom: 15px; padding-right: 15px;"> <a class="btn btn-default" style="width: calc(100% + 3px);" href="https://attribute-viewer.aai.switch.ch/aai-oidc/redirect_uri?iss=https://login.eduid.ch/&target_link_uri=https://attribute-viewer.aai.switch.ch/aai-oidc/"> Login with SWITCH edu-ID </a></br> </div> </div> <!-- end: main content --> </div> </div> </div> </body> </html>