<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Google&#8217;s OAuth Pain: Token invalid &#8211; AuthSub token has wrong scope</title>
	<atom:link href="http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/</link>
	<description>Thoughts on business, tech &#38; media from an Aussie entrepreneur</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:43:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Swallow</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-1842</link>
		<dc:creator>Swallow</dc:creator>
		<pubDate>Sun, 08 Jan 2012 17:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-1842</guid>
		<description>Thank you!!!</description>
		<content:encoded><![CDATA[<p>Thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nasrajan</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-1839</link>
		<dc:creator>Nasrajan</dc:creator>
		<pubDate>Thu, 05 Jan 2012 03:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-1839</guid>
		<description>Thank you..!! That saved my day :-)</description>
		<content:encoded><![CDATA[<p>Thank you..!! That saved my day <img src='http://www.geoffmcqueen.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#34;your authorization header here&#34;, what&#8217;s that? &#124; Gravity Layouts</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-1195</link>
		<dc:creator>&#34;your authorization header here&#34;, what&#8217;s that? &#124; Gravity Layouts</dc:creator>
		<pubDate>Thu, 15 Sep 2011 17:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-1195</guid>
		<description>[...] searching again about that error leads me to a possible scope problem ( http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-prob... [...]</description>
		<content:encoded><![CDATA[<p>[...] searching again about that error leads me to a possible scope problem ( <a href="http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-prob.." rel="nofollow">http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-prob..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Mangewala</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-686</link>
		<dc:creator>Raj Mangewala</dc:creator>
		<pubDate>Sat, 18 Jun 2011 21:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-686</guid>
		<description>Just one more Thank you!</description>
		<content:encoded><![CDATA[<p>Just one more Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bradley Mclain</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-685</link>
		<dc:creator>Bradley Mclain</dc:creator>
		<pubDate>Tue, 07 Jun 2011 02:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-685</guid>
		<description>Thanks for this post, I was having the same problem and could not figure it out.</description>
		<content:encoded><![CDATA[<p>Thanks for this post, I was having the same problem and could not figure it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Warren</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-626</link>
		<dc:creator>Alan Warren</dc:creator>
		<pubDate>Thu, 10 Feb 2011 07:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-626</guid>
		<description>Thank you Geoff,
I had the same issue when retrieving a calendar EventEntry using the EventEntryID retrieved when the calendar EventEntry was first created.

Unfortunately, even though the EventEntry was created using an SSL connection, the returned EventEntryID had a &#039;HTTP&#039; prefix. I simply replaced &#039;HTTP&#039; with &#039;HTTPS&#039; and it worked like a charm.

VB .Net snippet
&#039; the stored evententryid is prefixed with http, 
&#039; but the authsub scope is https
&#039; Google.GData.Client.GDataRequestException() 
&#039; 401 Token invalid - AuthSub token has wrong scope
strEventEntryID = strEventEntryID.Replace(&quot;http&quot;, &quot;https&quot;)

Respectfully yours,

Alan</description>
		<content:encoded><![CDATA[<p>Thank you Geoff,<br />
I had the same issue when retrieving a calendar EventEntry using the EventEntryID retrieved when the calendar EventEntry was first created.</p>
<p>Unfortunately, even though the EventEntry was created using an SSL connection, the returned EventEntryID had a &#8216;HTTP&#8217; prefix. I simply replaced &#8216;HTTP&#8217; with &#8216;HTTPS&#8217; and it worked like a charm.</p>
<p>VB .Net snippet<br />
&#8216; the stored evententryid is prefixed with http,<br />
&#8216; but the authsub scope is https<br />
&#8216; Google.GData.Client.GDataRequestException()<br />
&#8216; 401 Token invalid &#8211; AuthSub token has wrong scope<br />
strEventEntryID = strEventEntryID.Replace(&#8220;http&#8221;, &#8220;https&#8221;)</p>
<p>Respectfully yours,</p>
<p>Alan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew J</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-615</link>
		<dc:creator>Andrew J</dc:creator>
		<pubDate>Thu, 23 Dec 2010 06:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-615</guid>
		<description>Hey Geoff, great post. Like a lot of folks we&#039;re glad we found your advice before spending hours scratching heads trying to diagnose this.</description>
		<content:encoded><![CDATA[<p>Hey Geoff, great post. Like a lot of folks we&#8217;re glad we found your advice before spending hours scratching heads trying to diagnose this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dun boy</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-613</link>
		<dc:creator>Dun boy</dc:creator>
		<pubDate>Sat, 18 Dec 2010 21:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-613</guid>
		<description>After struggling with OAuth for quite some time I finally got a way to get the token.AND THEN there was this error.
You really saved my life!!

Thank you</description>
		<content:encoded><![CDATA[<p>After struggling with OAuth for quite some time I finally got a way to get the token.AND THEN there was this error.<br />
You really saved my life!!</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aurelio De Rosa</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-602</link>
		<dc:creator>Aurelio De Rosa</dc:creator>
		<pubDate>Fri, 10 Dec 2010 03:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-602</guid>
		<description>It&#039;s very incredible ! Thanks for the explanation.</description>
		<content:encoded><![CDATA[<p>It&#8217;s very incredible ! Thanks for the explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijit</title>
		<link>http://www.geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/comment-page-1/#comment-598</link>
		<dc:creator>Abhijit</dc:creator>
		<pubDate>Wed, 08 Dec 2010 20:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.geoffmcqueen.com/?p=215#comment-598</guid>
		<description>Thanks a million, I still struggled with multiple scopes because while setting the FeedURI for docs I forgot to drop the s :)</description>
		<content:encoded><![CDATA[<p>Thanks a million, I still struggled with multiple scopes because while setting the FeedURI for docs I forgot to drop the s <img src='http://www.geoffmcqueen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

