{"id":908,"date":"2007-11-27T18:32:44","date_gmt":"2007-11-28T02:32:44","guid":{"rendered":"\/?p=908"},"modified":"2007-11-28T09:11:19","modified_gmt":"2007-11-28T17:11:19","slug":"html-to-invoke-cardspace-on-your-site","status":"publish","type":"post","link":"https:\/\/www.identityblog.com\/?p=908","title":{"rendered":"HTML to invoke CardSpace on your site"},"content":{"rendered":"<p>In an upcoming post called Ultimate Simplicity: 30 lines of code, I show how\u00a0to tweak a web page so it presents the option of logging in with an information card &#8211; without requiring you to dirty your hands with certificates.<\/p>\n<p>If you haven&#39;t seen the demo yet,\u00a0I start from\u00a0a\u00a0simple web page like this one:<\/p>\n<p><img loading=\"lazy\" border=\"0\" width=\"300\" src=\"\/wp-content\/images\/2007\/11\/demo_1.jpg\" height=\"76\" \/><\/p>\n<p>I\u00a0add an HTML form like this:<\/p>\n<p><img loading=\"lazy\" border=\"0\" width=\"468\" src=\"\/wp-content\/images\/2007\/11\/demo_2.jpg\" height=\"196\" \/><\/p>\n<p>The\u00a0form\u00a0has an\u00a0ID of <span style=\"font-family: arial\">&#8220;ctl00&#8242;<\/span>, and a post action called &#8220;dump_input.php&#8221;.\u00a0 In other words, when the form is submitted (by clicking on the icon specified in the &#8220;img&#8221; section) the contents will be posted and the\u00a0script &#8220;dump_input.php&#8221; will be run on the web server.<\/p>\n<p>The form contains an x-informationCard\u00a0object tag, which takes a parameter of &#8220;RequiredClaims&#8221;.\u00a0 This is followed by the claims the web page designer is asking for &#8211; in this case givenname and private personal identifier.<\/p>\n<p>The zip of the\u00a0sample\u00a0code is <a href=\"\/wp-content\/images\/2007\/10\/nohttps\/no_ssl.zip\">here<\/a>.<\/p>\n<p>If you copy demo.html to your site, then\u00a0when using the most recent release of CardSpace,\u00a0you can navigate to that page, click on the icon, and you will\u00a0be prompted\u00a0for an infocard.\u00a0<\/p>\n<p>The claims supported\u00a0in CardSpace for simple self-issued cards are defined <a href=\"\/?p=896\">here <\/a>&#8211; you could cut and past them into the &#8220;RequiredClaims&#8221; parameter of demo.php\u00a0to alter the form&#39;s behavior.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to tweak a web page so it lets you log in with an information card <\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[37,19,8,7,55,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts\/908"}],"collection":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=908"}],"version-history":[{"count":0,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts\/908\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}