{"id":100,"date":"2006-05-03T18:04:41","date_gmt":"2006-05-04T02:04:41","guid":{"rendered":"http:\/\/outflux.net\/blog\/archives\/2006\/05\/03\/fun-with-openid\/"},"modified":"2006-05-03T18:06:03","modified_gmt":"2006-05-04T02:06:03","slug":"fun-with-openid","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2006\/05\/03\/fun-with-openid\/","title":{"rendered":"fun with OpenID"},"content":{"rendered":"<p>While I can&#8217;t log into NetFlix or Amazon with <a href=\"http:\/\/www.openid.net\/\">OpenID<\/a> (or other <a href=\"http:\/\/yadis.org\/\">federated<\/a> <a href=\"http:\/\/lid.netmesh.org\/\">login<\/a> <a href=\"http:\/\/www.inames.net\/\">systems<\/a>), I still wanted to try it out.  The goal is to easily write comments on people&#8217;s blogs, edit Wiki pages, etc, all without having to keep logging in every time.  So far, so good.<\/p>\n<p>First step was to decide between running my own OpenID server or not.  I went with &#8220;not&#8221;, since there really isn&#8217;t an installable OpenID server yet (there are only <a href=\"http:\/\/www.lifewiki.net\/openid\/OpenIDLibraries\">support libraries<\/a>, it seems).  Since I was given a permanent <a href=\"http:\/\/keescook.livejournal.com\/profile\">account<\/a> with <a href=\"http:\/\/www.livejournal.com\/\">LiveJournal<\/a> for some XSS testing I did for them, I figured I&#8217;d just use their stuff.  I wanted to use &#8220;outflux.net&#8221; as my login everywhere, so I just added <a href=\"http:\/\/www.openid.net\/specs.bml#delegate\">two lines<\/a> to my outflux.net HTML source:<\/p>\n<blockquote><p>\n&lt;link rel=&#8221;openid.server&#8221; href=&#8221;http:\/\/www.livejournal.com\/openid\/server.bml&#8221; \/&gt;<br \/>\n&lt;link rel=&#8221;openid.delegate&#8221; href=&#8221;http:\/\/keescook.livejournal.com\/&#8221; \/&gt;\n<\/p><\/blockquote>\n<p>Poof.  Done.  I used <a href=\"http:\/\/videntity.org\/\">Videntity<\/a> to verify that it was all working.  Nifty stuff.<\/p>\n<p>My only complaint is that it&#8217;s not clear how to get an end-to-end secure login.  I can log into LiveJournal securely, but the OpenID server they run doesn&#8217;t seem to operate over HTTPS.  Future study is needed.  :)<\/p>\n<p style='text-align:left'>&copy; 2006, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>While I can&#8217;t log into NetFlix or Amazon with OpenID (or other federated login systems), I still wanted to try it out. The goal is to easily write comments on people&#8217;s blogs, edit Wiki pages, etc, all without having to keep logging in every time. So far, so good. First step was to decide between [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6,13],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/100"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}