<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Unhandled expression</title>
	<atom:link href="http://unhandledexpression.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://unhandledexpression.com</link>
	<description>One commit a day makes the bugs go away</description>
	<lastBuildDate>Mon, 30 Jan 2012 01:47:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Rails and oauth-plugin part 2: the consumer by Richard David Jordan</title>
		<link>http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/#comment-310</link>
		<dc:creator><![CDATA[Richard David Jordan]]></dc:creator>
		<pubDate>Mon, 30 Jan 2012 01:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=253#comment-310</guid>
		<description><![CDATA[Thanks for this pair of posts.  Tremendously useful - you made it all a lot simpler than I&#039;ve seen elsewhere and I got my provider/consumer up in a very short time.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this pair of posts.  Tremendously useful &#8211; you made it all a lot simpler than I&#8217;ve seen elsewhere and I got my provider/consumer up in a very short time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 2: the consumer by Géal</title>
		<link>http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/#comment-307</link>
		<dc:creator><![CDATA[Géal]]></dc:creator>
		<pubDate>Mon, 19 Dec 2011 10:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=253#comment-307</guid>
		<description><![CDATA[I don&#039;t really get what you&#039;re trying to do. Could you elaborate a bit? (like, who is the provider, who is the consumer, where is the data, and where do you make the call?)]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t really get what you&#8217;re trying to do. Could you elaborate a bit? (like, who is the provider, who is the consumer, where is the data, and where do you make the call?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 2: the consumer by roushchris</title>
		<link>http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/#comment-302</link>
		<dc:creator><![CDATA[roushchris]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 20:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=253#comment-302</guid>
		<description><![CDATA[I&#039;m having a problem using the client endpoint for an oauth service when the format is specified.

I try to specify the return format using the following url:
http://consumer.dev/oauth_consumers/dupl/client/series.json 

But Rails just json formats the returned *html* response, and doesn&#039;t send the format as part of the endpoint.

from the consumer log:

    Started GET &quot;/oauth_consumers/dupl/client/series.json&quot; for 127.0.0.1 at 2011-12-14 15:06:22 -0500
    Processing by OauthConsumersController#client as JSON
    Parameters: {&quot;id&quot;=&gt;&quot;dupl&quot;, &quot;endpoint&quot;=&gt;&quot;series&quot;}

and the client log:

    Started GET &quot;/series/&quot; for 127.0.0.1 at 2011-12-14 15:06:22 -0500


am i missing something?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m having a problem using the client endpoint for an oauth service when the format is specified.</p>
<p>I try to specify the return format using the following url:<br />
<a href="http://consumer.dev/oauth_consumers/dupl/client/series.json" rel="nofollow">http://consumer.dev/oauth_consumers/dupl/client/series.json</a> </p>
<p>But Rails just json formats the returned *html* response, and doesn&#8217;t send the format as part of the endpoint.</p>
<p>from the consumer log:</p>
<p>    Started GET &#8220;/oauth_consumers/dupl/client/series.json&#8221; for 127.0.0.1 at 2011-12-14 15:06:22 -0500<br />
    Processing by OauthConsumersController#client as JSON<br />
    Parameters: {&#8220;id&#8221;=&gt;&#8221;dupl&#8221;, &#8220;endpoint&#8221;=&gt;&#8221;series&#8221;}</p>
<p>and the client log:</p>
<p>    Started GET &#8220;/series/&#8221; for 127.0.0.1 at 2011-12-14 15:06:22 -0500</p>
<p>am i missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 2: the consumer by roushchris</title>
		<link>http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/#comment-301</link>
		<dc:creator><![CDATA[roushchris]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 00:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=253#comment-301</guid>
		<description><![CDATA[I&#039;m having the same problem here, and adding this to my ApplicationController doesn&#039;t solve it.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem here, and adding this to my ApplicationController doesn&#8217;t solve it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Adrian</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-277</link>
		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 10:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-277</guid>
		<description><![CDATA[Thank you very much for your suggestions. I will try the second method
Maybe I will succeed :)]]></description>
		<content:encoded><![CDATA[<p>Thank you very much for your suggestions. I will try the second method<br />
Maybe I will succeed <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Géal</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-276</link>
		<dc:creator><![CDATA[Géal]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 10:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-276</guid>
		<description><![CDATA[This is another system:, called single sign on.

If I understand correctly, you want two applications with different sets of users (users of the 1st, users of the 2nd, users of both). And an user of both applications must be able to log in an application, and be automatically logged in the other.

There are multiple ways to do that.

The first is to use a 3rd app, an external user manager (with Oauth or SAML), to authenticate the user. On the first login on one app, the user is redirected to the user manager, enters login and password, and is redirected to the app. If he wants to log on the 2nd app, he is redirected to the user manager, but doesn&#039;t need to enter his credentials, and is automatically authenticated.

The second, which may be simpler in your case, would be to share the database and the users table, and have the session cookies work on both sites (by putting them in subdomains).]]></description>
		<content:encoded><![CDATA[<p>This is another system:, called single sign on.</p>
<p>If I understand correctly, you want two applications with different sets of users (users of the 1st, users of the 2nd, users of both). And an user of both applications must be able to log in an application, and be automatically logged in the other.</p>
<p>There are multiple ways to do that.</p>
<p>The first is to use a 3rd app, an external user manager (with Oauth or SAML), to authenticate the user. On the first login on one app, the user is redirected to the user manager, enters login and password, and is redirected to the app. If he wants to log on the 2nd app, he is redirected to the user manager, but doesn&#8217;t need to enter his credentials, and is automatically authenticated.</p>
<p>The second, which may be simpler in your case, would be to share the database and the users table, and have the session cookies work on both sites (by putting them in subdomains).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Adrian</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-275</link>
		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 10:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-275</guid>
		<description><![CDATA[I have written an application in which I use Devise. I want to write a second application also uses Devise. I do not want to require users to log in to both applications. I want to log on only once and can use both applications. Additionally, in the second application users will have different roles, allowing access to different parts of the application.
Users can not register themselves, are registered by the administrator, he can give them access to both applications or only one
For example, if I log on to gmail I have access to all Google Apps. I do not have to login to each separately.
I&#039;m looking for something that will help me in creating such a connection between applications.
One application keeps users and other log on to it.
I hope I explained it well, but I&#039;m not sure if it will work with OAuth or OmniAuth]]></description>
		<content:encoded><![CDATA[<p>I have written an application in which I use Devise. I want to write a second application also uses Devise. I do not want to require users to log in to both applications. I want to log on only once and can use both applications. Additionally, in the second application users will have different roles, allowing access to different parts of the application.<br />
Users can not register themselves, are registered by the administrator, he can give them access to both applications or only one<br />
For example, if I log on to gmail I have access to all Google Apps. I do not have to login to each separately.<br />
I&#8217;m looking for something that will help me in creating such a connection between applications.<br />
One application keeps users and other log on to it.<br />
I hope I explained it well, but I&#8217;m not sure if it will work with OAuth or OmniAuth</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Géal</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-274</link>
		<dc:creator><![CDATA[Géal]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 08:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-274</guid>
		<description><![CDATA[That is not really the definition of a provider for Oauth.
Oauth is an authorization protocol: the provider is holding some data, and the consumer wants to access it, and Oauth is used to manage the authorization of consumers.

The Oauth-plugin gem can act as a provider (see this tutorial) or as a consumer (&lt;a href=&quot;http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/&quot; title=&quot;Rails and oauth-plugin part 2: the consumer&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;see the next tutorial&lt;/a&gt;).
Devise is a completely different thing: it is an authentication system. It is used to manage your users and their credentials.
Omniauth is also an authentication system, but it uses Oauth in consumer mode to perform the authentication: it tries to get access to your data in another application, and if the access is granted, it means that you were authenticated by the provider. It delegates the authentication to the provider. At the same time, it receives Oauth tokens that can be used to access the user&#039;s data.

Now, could you explain a bit more your use case?]]></description>
		<content:encoded><![CDATA[<p>That is not really the definition of a provider for Oauth.<br />
Oauth is an authorization protocol: the provider is holding some data, and the consumer wants to access it, and Oauth is used to manage the authorization of consumers.</p>
<p>The Oauth-plugin gem can act as a provider (see this tutorial) or as a consumer (<a href="http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/" title="Rails and oauth-plugin part 2: the consumer" target="_blank" rel="nofollow">see the next tutorial</a>).<br />
Devise is a completely different thing: it is an authentication system. It is used to manage your users and their credentials.<br />
Omniauth is also an authentication system, but it uses Oauth in consumer mode to perform the authentication: it tries to get access to your data in another application, and if the access is granted, it means that you were authenticated by the provider. It delegates the authentication to the provider. At the same time, it receives Oauth tokens that can be used to access the user&#8217;s data.</p>
<p>Now, could you explain a bit more your use case?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Adrian</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-273</link>
		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 07:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-273</guid>
		<description><![CDATA[Thank you for your quick response
I wanted to get something like that.
One application that contains users. Another application is using it.
For example, a user logs in to the application provider and has access to other applications through the provider.
One login -&gt; multiple applications -&gt; different roles in applications.

I use &#039;Devise&#039; and for this I need a solution. I have not found how to create an provider application in the &#039;Omniauth&#039;.

I hoped that OAuth is what I&#039;m looking for]]></description>
		<content:encoded><![CDATA[<p>Thank you for your quick response<br />
I wanted to get something like that.<br />
One application that contains users. Another application is using it.<br />
For example, a user logs in to the application provider and has access to other applications through the provider.<br />
One login -&gt; multiple applications -&gt; different roles in applications.</p>
<p>I use &#8216;Devise&#8217; and for this I need a solution. I have not found how to create an provider application in the &#8216;Omniauth&#8217;.</p>
<p>I hoped that OAuth is what I&#8217;m looking for</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails and oauth-plugin part 1: the provider by Géal</title>
		<link>http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/#comment-272</link>
		<dc:creator><![CDATA[Géal]]></dc:creator>
		<pubDate>Wed, 16 Nov 2011 19:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://unhandledexpression.com/?p=218#comment-272</guid>
		<description><![CDATA[I don&#039;t really get what your problem is. Are you expecting that the consumer app create a user from the call to the provider? This tutorial is about getting access to another application from one you&#039;re already using (ex: giving your Linkedin account an access to your twitter account). If you want to log in using Oauth, there&#039;s a much simpler solution: the &lt;a href=&quot;https://github.com/intridea/omniauth&quot; rel=&quot;nofollow&quot;&gt;Omniauth gem&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t really get what your problem is. Are you expecting that the consumer app create a user from the call to the provider? This tutorial is about getting access to another application from one you&#8217;re already using (ex: giving your Linkedin account an access to your twitter account). If you want to log in using Oauth, there&#8217;s a much simpler solution: the <a href="https://github.com/intridea/omniauth" rel="nofollow">Omniauth gem</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

