{"id":219,"date":"2011-03-29T11:44:56","date_gmt":"2011-03-29T11:44:56","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/tag4fun\/?p=219"},"modified":"2011-05-17T17:04:53","modified_gmt":"2011-05-17T17:04:53","slug":"oauth","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/tag4fun\/2011\/03\/29\/oauth\/","title":{"rendered":"OAuth"},"content":{"rendered":"<p>With so many servers running independently of each other on the etags network, there needs to be a way to give a server permission to access parts of a user&#8217;s social networking profile, without handing over the entirety of a user&#8217;s account. There also needs to be a way for the servers to allow services (such as social networks) to use the tag data provided by users, or to add a tag of a user, again without needing to have full control. The solution to this problem is <a href=\"http:\/\/oauth.net\/\">OAuth<\/a>.<\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/tag4fun\/files\/2011\/03\/pool-519057@N23-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-220\" title=\"OAuth\" src=\"http:\/\/blog.soton.ac.uk\/tag4fun\/files\/2011\/03\/pool-519057@N23-1.png\" alt=\"\" width=\"507\" height=\"505\" srcset=\"https:\/\/blog.soton.ac.uk\/tag4fun\/files\/2011\/03\/pool-519057@N23-1.png 507w, https:\/\/blog.soton.ac.uk\/tag4fun\/files\/2011\/03\/pool-519057@N23-1-150x150.png 150w, https:\/\/blog.soton.ac.uk\/tag4fun\/files\/2011\/03\/pool-519057@N23-1-300x298.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/a><\/p>\n<p>OAuth is an open protocol which allows a user to give restricted access to a resource to a consumer. It is already <a href=\"http:\/\/wiki.oauth.net\/w\/page\/12238551\/ServiceProviders\">supported by all of the major social networks<\/a> (including <a href=\"http:\/\/developers.facebook.com\/docs\/authentication\/\">Facebook which uses OAuth2<\/a> in Facebook Connect) and it seems unlikely that future social networks will be created without using OAuth<\/p>\n<p>In the case of etags, each server will act as a consumer to the existing social networks, this is to access the user&#8217;s photographs and tags which may be stored there already, to publish new tags to the user&#8217;s feed (or &#8220;wall&#8221;) and simply to identify users across different social networks. The servers will also act as a provider to any clients which wish to access the tags stored in etags.<\/p>\n<p>Due to the very wide support of OAuth there are <a href=\"http:\/\/oauth.net\/code\/\">a large number of libraries<\/a> available to use as both a consumer and provider. For the prototype (and possibly reference implementation) of etags, the <a href=\"https:\/\/github.com\/simplegeo\/python-oauth2\">python-oauth2<\/a> library will be used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With so many servers running independently of each other on the etags network, there needs to be a way to give a server permission to access parts of a user&#8217;s social networking profile, without handing over the entirety of a &hellip; <a href=\"https:\/\/blog.soton.ac.uk\/tag4fun\/2011\/03\/29\/oauth\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":159,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10539,6496,6475],"tags":[384,247,388,463],"class_list":["post-219","post","type-post","status-publish","format-standard","hentry","category-overview-of-standards-and-protocols","category-prototype-2","category-technical-problems","tag-authentication","tag-identity","tag-oauth","tag-security"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/posts\/219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/users\/159"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/comments?post=219"}],"version-history":[{"count":6,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/posts\/219\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/posts\/219\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/media?parent=219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/categories?post=219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/tag4fun\/wp-json\/wp\/v2\/tags?post=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}