<?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>SteveLove.org &#187; google</title>
	<atom:link href="http://stevelove.org/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevelove.org</link>
	<description>Code, Literature and Other Worthless Pursuits</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:53:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Simple OpenID updated: Now supports Google accounts and Attribute Exchange</title>
		<link>http://stevelove.org/2008/12/21/simple-openid-updated-now-supports-google-accounts-and-attribute-exchange/</link>
		<comments>http://stevelove.org/2008/12/21/simple-openid-updated-now-supports-google-accounts-and-attribute-exchange/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 03:12:36 +0000</pubDate>
		<dc:creator>Steve Love</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[attribute exchange]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://stevelove.org/?p=21</guid>
		<description><![CDATA[At the request of a reader, I&#8217;ve updated Simple OpenID by adding support for Google&#8217;s OpenID implementation for Gmail users, as well as some other changes. Download the latest version here. After a couple months, Google is finally publishing its XRDS document (like Yahoo does) from www.gmail.com. So what I&#8217;ve done is add a line [...]]]></description>
			<content:encoded><![CDATA[<p>At the request of a reader, I&#8217;ve updated Simple OpenID by adding support for Google&#8217;s OpenID implementation for Gmail users, as well as some other changes. Download the latest version <a href="http://stevelove.org/projects/dope-openid/">here</a>.<span id="more-21"></span></p>
<p>After a couple months, Google is finally publishing its XRDS document (like Yahoo does) from www.gmail.com. So what I&#8217;ve done is add a line that checks for &#8220;google&#8221; or &#8220;gmail&#8221; in the user&#8217;s OpenID, and if found, standardizes the input as &#8220;http://gmail.com&#8221;, at which point we can use Yadis to discover the server location. I implemented it this way because I figure users might be confused whether their provider URL is &#8220;http://google.com&#8221; or &#8220;http://gmail.com&#8221;. As an added bonus, it also allows people to enter &#8220;username@gmail.com&#8221; and it will still work. I don&#8217;t know of any clear guidelines on this, so if anyone knows of a better way to implement it, please let me know.</p>
<p>This brings us to Attribute Exchange (AX) and Simple Registration (SREG) info. Simple OpenID now supports both. Just use the <span class="code">SetRequiredFields</span> and <span class="code">SetOptionalFields</span> methods as before. Some OpenID providers use AX info, some use SREG, and some ignore both. Google, for example, will only return the user&#8217;s email address, and only if you specify it as a required field.</p>
<p>Other changes: I&#8217;ve added the ability to set PAPE auth policies and a time limit on authentication (max_auth_age). I haven&#8217;t tested these to see if they work though. If you&#8217;re interested, try it out and let me know the results. I commented out the section that deals with standardizing XRI strings after I noticed it&#8217;s only half implemented. I&#8217;ll work on both of these parts as time permits.</p>
]]></content:encoded>
			<wfw:commentRss>http://stevelove.org/2008/12/21/simple-openid-updated-now-supports-google-accounts-and-attribute-exchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

