<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DocuView - document management system &#187; custom</title>
	<atom:link href="http://docuview.co.uk/index.php/tag/custom/feed/" rel="self" type="application/rss+xml" />
	<link>http://docuview.co.uk</link>
	<description>revolutionary web 2.0 document management system</description>
	<lastBuildDate>Fri, 25 Jun 2010 00:50:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Custom login form (authentication) to Basecamp (using PHP, no cURL!, no OpenID)</title>
		<link>http://docuview.co.uk/index.php/2009/10/custom-login-form-authentication-to-basecamp-using-php-no-curl-no-openid/</link>
		<comments>http://docuview.co.uk/index.php/2009/10/custom-login-form-authentication-to-basecamp-using-php-no-curl-no-openid/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 02:44:15 +0000</pubDate>
		<dc:creator>Martin Korych</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[37 Signals]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[basecamp]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://docuview.co.uk/?p=395</guid>
		<description><![CDATA[Build your own custom login form to authenticate with Basecamp without having to go through the Basecamp login screen - essentially saving one click, but also offering customised and stylised login form of your own.]]></description>
			<content:encoded><![CDATA[<p>I have been scouring the internet for the last two days and have finally come up with a custom login form (understand: one doesn&#8217;t have to go through <em>http://mycompany.basecamphq.com/login</em> screen) to be deployed on almost every site (even WordPress 2.8+). I was reading the <a title="Basecamp forum" href="http://forum.37signals.com/basecamp/">Basecamp forum</a>, browsing through their <a title="Basecamp API" href="http://developer.37signals.com/basecamp/">API</a> but to no avail. There are references to certain &#8220;Stickman&#8217;s method&#8221; and <a title="custom login to Basecamp" href="http://forum.37signals.com/basecamp/forums/4/topics/1627">masses</a> (<a title="custom login to Basecamp II" href="http://forum.37signals.com/basecamp/forums/8/topics/9463"><strong>masses!</strong></a> + <a title="custom login to Basecamp III" href="http://forum.37signals.com/basecamp/forums/8/topics/10532">more</a> + <a title="Stickman's method" href="http://forum.37signals.com/basecamp/forums/8/topics/350">here a little</a>) of people looking for the very same solution. How does one embed/create their own login form to Basecamp on a 3rd party (one&#8217;s own) website?!</p>
<p>Well I&#8217;m very proud to say I have managed to achieve it. Partly by trial and error, partly through research. I have looked at libraries/wrappers such as &#8220;<a title="Basecamp PHP API wrapper" href="http://code.google.com/p/basecamp-php-api/">Basecamp PHP API</a>&#8221; and &#8220;<a title="HTTP class for PHP" href="http://www.phpfour.com/blog/2008/01/php-http-class/">HTTP class for PHP</a>&#8220;, both have their advantages but didn&#8217;t do what I needed out-of-the-box. I have studied these guys&#8217; code and ended with a few (&lt; 10) lines of my own solution which currently works. 100%. Bulletproof. I say currently because I suspect it might not be intended functionality of the authentication script. But I am also hoping that by the time 37 signals (Basecamp development team) change/disable it they will either PROPERLY describe how to achieve so (using PHP, no cURL and without using OpenID &#8211; which not everybody has).</p>
<p>Slightly hesitant to publish the solution not to bring Basecamp&#8217;s attention to it, but since I know there are LOADS of people looking for the solution I will tell you how. All I&#8217;m after is enough (say 25+) comments here requesting the functionality. Only then I will share. Promise! <img src='http://docuview.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It is surprisingly easy, the only clue I&#8217;ll give you for now is to study the headers the login form sends and follow the redirections.</p>
<p>Demo will follow soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://docuview.co.uk/index.php/2009/10/custom-login-form-authentication-to-basecamp-using-php-no-curl-no-openid/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
