<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/plataformatec-devise</id>
  <title type="text">Devise Google Group</title>
  <subtitle type="text">
  Devise is a flexible authentication solution for Rails on top of Warden.
  </subtitle>
  <link href="/group/plataformatec-devise/feed/atom_v1_0_msgs.xml" rel="self" title="Devise feed"/>
  <updated>2013-05-24T17:51:38Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Simon Starr</name>
  <email>simon.st...@gmail.com</email>
  </author>
  <updated>2013-05-24T17:51:38Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a8951e8744fbf6df/4fed4db403270219?show_docid=4fed4db403270219</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a8951e8744fbf6df/4fed4db403270219?show_docid=4fed4db403270219"/>
  <title type="text">Timeout not working unless the page remains open</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I&#39;m seeing some strange behaviour on a Rails 3.2.13 app using Devise 2.2.3. &lt;br&gt; The User model has the following Devise options: &lt;br&gt; devise :database_authenticatable, :lockable, :recoverable, :trackable, &lt;br&gt; config.timeout_in is commented out in devise.rb so it should be using the &lt;br&gt; default of 30 minutes.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Martin Westin</name>
  <email>mar...@eimermusic.com</email>
  </author>
  <updated>2013-05-24T11:05:23Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/bfa33c720eef962c/620b6b979e886e83?show_docid=620b6b979e886e83</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/bfa33c720eef962c/620b6b979e886e83?show_docid=620b6b979e886e83"/>
  <title type="text">Is there a better way to hook in a second authentication factor?</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I have been using home-grown sms-to-phone second factor authentication for &lt;br&gt; the past two years. I got a bug up my --- and wanted to improve my &lt;br&gt; two-factor support. I have been trying to find a a solid way to integrate &lt;br&gt; with Devise but coming up short. &lt;br&gt; I interpret the Warden docs to mean that it will fail or succeed on the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Francisco Trindade</name>
  <email>frank.trind...@gmail.com</email>
  </author>
  <updated>2013-05-21T00:58:10Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/318a054edf40748f/9d04b0e03f992fc8?show_docid=9d04b0e03f992fc8</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/318a054edf40748f/9d04b0e03f992fc8?show_docid=9d04b0e03f992fc8"/>
  <title type="text">Re: get current_user or user_signed_in? without redirect after session time out</title>
  <summary type="html" xml:space="preserve">
  Hi All, &lt;br&gt; I&#39;ve ran into the same issue and worked around the problem by calling the &lt;br&gt; http_auth method on timeout failure. &lt;br&gt; class AuthenticationFailureApp &amp;lt; Devise::FailureApp &lt;br&gt; def redirect &lt;br&gt; message = warden.message || warden_options[:message] &lt;br&gt; if message == :timeout &amp;amp;&amp;amp; scope == :user &lt;br&gt; http_auth
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel Nelson</name>
  <email>dan...@populr.me</email>
  </author>
  <updated>2013-05-20T15:51:01Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b8769644bdc361d6?show_docid=b8769644bdc361d6</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b8769644bdc361d6?show_docid=b8769644bdc361d6"/>
  <title type="text">Re: [devise] Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <summary type="html" xml:space="preserve">
  Actually, this turned out to be as simple as updating devise.en.yml. &lt;br&gt; &lt;p&gt;en: &lt;br&gt; devise: &lt;br&gt; failure: &lt;br&gt; invalid: That password appears to be incorrect. &lt;br&gt; not_found_in_database: &amp;quot;There doesn&#39;t appear to be a user with &lt;br&gt; that email address.&amp;quot;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel Nelson</name>
  <email>dan...@populr.me</email>
  </author>
  <updated>2013-05-20T14:25:26Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/fcf37175da534ed1?show_docid=fcf37175da534ed1</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/fcf37175da534ed1?show_docid=fcf37175da534ed1"/>
  <title type="text">Re: [devise] Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <summary type="html" xml:space="preserve">
  override method `find_or_initialize_with_error s` &lt;br&gt; &lt;p&gt;Thank you, Vasiliy. &lt;br&gt; &lt;p&gt;Thank you for pointing that out, Andreo. However, Devise alone doesn&#39;t &lt;br&gt; block against user enumeration even in paranoid mode &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/wiki/How-To:-Using-paranoid-mode,-avoid-user-enumeration-on-registerable&quot;&gt;[link]&lt;/a&gt;).
  </summary>
  </entry>
  <entry>
  <author>
  <email>and...@benjamin.dk</email>
  </author>
  <updated>2013-05-20T08:55:50Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/94533a8e927509a2?show_docid=94533a8e927509a2</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/94533a8e927509a2?show_docid=94533a8e927509a2"/>
  <title type="text">Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <summary type="html" xml:space="preserve">
  The reason why devise does this has to do with the attacker not being able &lt;br&gt; to know if he got any of the parameters right, reducing the time of &lt;br&gt; guessing by brute-force attacks/dictionary attacks to half. especially if &lt;br&gt; he finds out one password and then he can get a way of getting all the &lt;br&gt; users emails and try them all out. if you really want to implement this
  </summary>
  </entry>
  <entry>
  <author>
  <name>Vasiliy Ermolovich</name>
  <email>youn...@gmail.com</email>
  </author>
  <updated>2013-05-17T14:37:03Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/03f9c7b6f6dd55f9?show_docid=03f9c7b6f6dd55f9</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/03f9c7b6f6dd55f9?show_docid=03f9c7b6f6dd55f9"/>
  <title type="text">Re: [devise] Notifying the user whether the password or the email was incorrect after a failed login</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt;I think right not it can&#39;t be configured. The only way I see is to &lt;br&gt; override method `find_or_initialize_with_error s` &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/blob/f5e33089a032f44abd80225e34370c4fdd651a25/lib/devise/models/authenticatable.rb#L255&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; and fill it with your own logic: &lt;br&gt; &lt;p&gt;class User &amp;lt; AR::Base
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel Nelson</name>
  <email>dan...@populr.me</email>
  </author>
  <updated>2013-05-17T14:02:03Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b5b656c2d00a8117?show_docid=b5b656c2d00a8117</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b5b656c2d00a8117?show_docid=b5b656c2d00a8117"/>
  <title type="text">Notifying the user whether the password or the email was incorrect after a failed login</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;Someone sent me a Mailchimp blog post &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blog.mailchimp.com/social-login-buttons-arent-worth-it/&quot;&gt;[link]&lt;/a&gt;) that &lt;br&gt; shows that they were able to dramatically reduce failed logins by &lt;br&gt; telling the user which was incorrect: the email or the password. &lt;br&gt; Devise takes the position that it is more secure to obscure this (even
  </summary>
  </entry>
  <entry>
  <author>
  <name>Stefan Wrobel</name>
  <email>swro...@gmail.com</email>
  </author>
  <updated>2013-05-16T01:45:44Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/d99c3233e0130939?show_docid=d99c3233e0130939</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/d99c3233e0130939?show_docid=d99c3233e0130939"/>
  <title type="text">Re: [devise] Notification on registered user</title>
  <summary type="html" xml:space="preserve">
  I think the primary one that anyone would want to track with analytics is &lt;br&gt; user registrations ... perhaps that&#39;s just an after_create on user, but it &lt;br&gt; seems to make much more sense to do it as an AS::Notification on the devise &lt;br&gt; controller method.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lucas Mazza</name>
  <email>lucastma...@gmail.com</email>
  </author>
  <updated>2013-05-16T01:11:18Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/666541928042dc0d?show_docid=666541928042dc0d</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/666541928042dc0d?show_docid=666541928042dc0d"/>
  <title type="text">Re: [devise] Notification on registered user</title>
  <summary type="html" xml:space="preserve">
  Depends on what pieces of code you want to wrap with AS::Notifications, but &lt;br&gt; in general it can be pretty easy.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Stefan Wrobel</name>
  <email>swro...@gmail.com</email>
  </author>
  <updated>2013-05-16T00:47:44Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/4c0b33dad4bb9db0?show_docid=4c0b33dad4bb9db0</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/4c0b33dad4bb9db0?show_docid=4c0b33dad4bb9db0"/>
  <title type="text">Re: [devise] Notification on registered user</title>
  <summary type="html" xml:space="preserve">
  Is there any simple way to wire ActiveSupport::Notifications into Devise?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Prizefighter</name>
  <email>michaeljohnmitch...@gmail.com</email>
  </author>
  <updated>2013-05-15T19:26:21Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/a966735e41fe12e8?show_docid=a966735e41fe12e8</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/a966735e41fe12e8?show_docid=a966735e41fe12e8"/>
  <title type="text">Re: [devise] user id from the devise session</title>
  <summary type="html" xml:space="preserve">
  oops, yes, thanks, god I&#39;m stupid sometimes
  </summary>
  </entry>
  <entry>
  <author>
  <name>Walter Lee Davis</name>
  <email>wa...@wdstudio.com</email>
  </author>
  <updated>2013-05-15T19:18:36Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/eceb913929189be9?show_docid=eceb913929189be9</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/eceb913929189be9?show_docid=eceb913929189be9"/>
  <title type="text">Re: [devise] user id from the devise session</title>
  <summary type="html" xml:space="preserve">
  Could you try current_user.id ? That would seem to be the canonical way to do this. &lt;br&gt; &lt;p&gt;Walter
  </summary>
  </entry>
  <entry>
  <author>
  <name>Prizefighter</name>
  <email>michaeljohnmitch...@gmail.com</email>
  </author>
  <updated>2013-05-15T19:12:37Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/be4da91b32d945b5?show_docid=be4da91b32d945b5</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/be4da91b32d945b5?show_docid=be4da91b32d945b5"/>
  <title type="text">user id from the devise session</title>
  <summary type="html" xml:space="preserve">
  In my Rails app with Devise, I&#39;m making some home-made analytics that &lt;br&gt; works, in part, the following way. If a user visits another user&#39;s profile, &lt;br&gt; the show action of the user&#39;s profile checks whether the visitor is a &lt;br&gt; registered user and, if so, it saves the user_id of the visitor to the &lt;br&gt; database.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Vasiliy Ermolovich</name>
  <email>youn...@gmail.com</email>
  </author>
  <updated>2013-05-15T17:48:06Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/b1ef0768cea9af74?show_docid=b1ef0768cea9af74</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/b1ef0768cea9af74?show_docid=b1ef0768cea9af74"/>
  <title type="text">Re: [devise] Collecting the #{user}_return_to value to save it in my user model and redirect user to this url aft</title>
  <summary type="html" xml:space="preserve">
  Please see my answer on SO - &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/a/16571633/336626&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sylario Syl</name>
  <email>syla...@gmail.com</email>
  </author>
  <updated>2013-05-15T17:26:33Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/7d7a103a1ebd2859?show_docid=7d7a103a1ebd2859</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/7d7a103a1ebd2859?show_docid=7d7a103a1ebd2859"/>
  <title type="text">Collecting the #{user}_return_to value to save it in my user model and redirect user to this url aft</title>
  <summary type="html" xml:space="preserve">
  I want to collect the url the users requested before signing up. Devise &lt;br&gt; remember this URL and send the user to it after registration. &lt;br&gt; To do so i tried to call after_sign_up_path_for(resourc e) in the create &lt;br&gt; method of my overrided registration controller. &lt;br&gt; Problem is that devise immediatly erase the value after it has been called,
  </summary>
  </entry>
  <entry>
  <author>
  <name>javinto</name>
  <email>jan.javi...@gmail.com</email>
  </author>
  <updated>2013-05-15T13:25:20Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/162921b2bce74b5e/a87bdaa8fa40182e?show_docid=a87bdaa8fa40182e</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/162921b2bce74b5e/a87bdaa8fa40182e?show_docid=a87bdaa8fa40182e"/>
  <title type="text">redirect back to last get request after timeout causes extra 401 redirect</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt;If a user submits a page (POST/PUT) after his timeout expired, he will have &lt;br&gt; to login again. After that he will be redirected to the page he came from. &lt;br&gt; This is done by the #store_location!() method and only works for GET &lt;br&gt; requests. So, I expect to be redirect to the last :new or :edit action of
  </summary>
  </entry>
  <entry>
  <author>
  <email>and...@benjamin.dk</email>
  </author>
  <updated>2013-05-14T11:36:37Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/7d24c75d7be57f70/56018376dc03ad3d?show_docid=56018376dc03ad3d</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/7d24c75d7be57f70/56018376dc03ad3d?show_docid=56018376dc03ad3d"/>
  <title type="text">Re: legacy tables &amp; password encryption</title>
  <summary type="html" xml:space="preserve">
  I have actually decided to go with the first option since the second did &lt;br&gt; not reveal to be as easy as should and the first one is well documented and &lt;br&gt; works. &lt;br&gt; but to do the first I have to put a setting configuration: &lt;br&gt; config.apply_schema = false devise &lt;br&gt; which I am really familiar with what it does and what kind of changes it
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aymeric Brisse</name>
  <email>aymeric.bri...@perfect-memory.com</email>
  </author>
  <updated>2013-05-13T17:00:33Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/5a7b2de308bb2e25/0cb8b25c1bd6e5ce?show_docid=0cb8b25c1bd6e5ce</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/5a7b2de308bb2e25/0cb8b25c1bd6e5ce?show_docid=0cb8b25c1bd6e5ce"/>
  <title type="text">Devise with config.session_store :disabled</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; Disclaimer : Sorry if this problem should not be created here. I don&#39;t know &lt;br&gt; if it is more relevant to post it on the `warden` repository. &lt;br&gt; Anyway I am using devise 2.2.3 and am building a RESTful API (stateless), &lt;br&gt; so I don&#39;t need to store any session. Thefore I have disabled them by &lt;br&gt; defining in `config/initializers/session_s tore.rb` :
  </summary>
  </entry>
  <entry>
  <author>
  <email>and...@benjamin.dk</email>
  </author>
  <updated>2013-05-13T12:30:07Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/7d24c75d7be57f70/00356958cb516ce2?show_docid=00356958cb516ce2</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/7d24c75d7be57f70/00356958cb516ce2?show_docid=00356958cb516ce2"/>
  <title type="text">legacy tables &amp; password encryption</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I am an app running on rails 3.0.20 which uses its own custom &lt;br&gt; authentication system. The database is in postgres and I am trying to &lt;br&gt; implement devise 1.5.4. which is the most suitable version for my app. &lt;br&gt; Since the passwords where being stored with Digest::SHA1.hexdigest(string) &lt;br&gt; which is not regress able, I would need to keep the passwords(we have more
  </summary>
  </entry>
  <entry>
  <author>
  <name>Prizefighter</name>
  <email>michaeljohnmitch...@gmail.com</email>
  </author>
  <updated>2013-05-12T23:52:40Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/370a121e8638accd?show_docid=370a121e8638accd</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/370a121e8638accd?show_docid=370a121e8638accd"/>
  <title type="text">Re: [devise] blogpost about devise with rails 4</title>
  <summary type="html" xml:space="preserve">
  Thanks, I also added this to the gemfile &lt;br&gt; gem &#39;devise&#39;, &#39;3.0.0.rc&#39;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lucas Mazza</name>
  <email>lucastma...@gmail.com</email>
  </author>
  <updated>2013-05-12T23:42:35Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/87e087187504c398?show_docid=87e087187504c398</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/87e087187504c398?show_docid=87e087187504c398"/>
  <title type="text">Re: [devise] blogpost about devise with rails 4</title>
  <summary type="html" xml:space="preserve">
  Since it&#39;s a pre release version, Rubygems won&#39;t install it without the &lt;br&gt; explicit version (it&#39;s &lt;br&gt; 3.0.0.rc&amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://rubygems.org/gems/devise/versions/3.0.0.rc&quot;&gt;[link]&lt;/a&gt;&amp;gt;and not &lt;br&gt; 3.0.0rc1) or you can just use `gem install devise --pre` instead. &lt;br&gt; &lt;p&gt;On Sun, May 12, 2013 at 8:39 PM, Prizefighter &amp;lt;michaeljohnmitch...@gmail.com
  </summary>
  </entry>
  <entry>
  <author>
  <name>Prizefighter</name>
  <email>michaeljohnmitch...@gmail.com</email>
  </author>
  <updated>2013-05-12T23:39:09Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/62e26ec632ddaec9?show_docid=62e26ec632ddaec9</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/42d333e6ee6c7a44/62e26ec632ddaec9?show_docid=62e26ec632ddaec9"/>
  <title type="text">blogpost about devise with rails 4</title>
  <summary type="html" xml:space="preserve">
  I read this blog post about the version of Devise compatible with Rails 4 &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blog.plataformatec.com.br/2013/05/devise-and-rails-4/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; but I can&#39;t get Devise 3.0 installed. When I do gem install Devise, it &lt;br&gt; installs &lt;br&gt; *devise-2.2.4.gem (100%) * &lt;br&gt; * &lt;br&gt; * &lt;br&gt; *I tried to do* &lt;br&gt; * &lt;br&gt; * &lt;br&gt; Fetching: devise-2.2.4.gem (100%)
  </summary>
  </entry>
  <entry>
  <author>
  <email>jeets1...@gmail.com</email>
  </author>
  <updated>2013-05-12T19:25:17Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/cc245a908394bab1/56ccc4c8f52ec8db?show_docid=56ccc4c8f52ec8db</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/cc245a908394bab1/56ccc4c8f52ec8db?show_docid=56ccc4c8f52ec8db"/>
  <title type="text">How to have single sign-in form for two devise models</title>
  <summary type="html" xml:space="preserve">
  I have two devise models. &lt;br&gt; devise_for :contractors &lt;br&gt; devise_for :customers &lt;br&gt; To make it easier for the users and also cleaner on the frontend. I wish &lt;br&gt; one sign in form in my navbar through both customers and contractors can &lt;br&gt; sign in. &lt;br&gt; So, i am wondering, how to do that ? Should I have override devise&#39;s &lt;br&gt; session controller? If so how. I could have sign in for one devise model
  </summary>
  </entry>
  <entry>
  <author>
  <name>Paritosh Piplewar</name>
  <email>paritoshparitos...@gmail.com</email>
  </author>
  <updated>2013-05-09T23:24:31Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/44e88daac35a45ad/c460b2f7b3b37483?show_docid=c460b2f7b3b37483</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/44e88daac35a45ad/c460b2f7b3b37483?show_docid=c460b2f7b3b37483"/>
  <title type="text">how to invite cross scope devise</title>
  <summary type="html" xml:space="preserve">
  i have 3 scopes , :user , :tenant , :client . Now i dont want :tenant and &lt;br&gt; both :tenant and :client . I also want :user to invite both :client and &lt;br&gt; in :user model . With devise_invitable I only able to invite users who are &lt;br&gt; already a user, this is not what i want. i want to invite cross :scope &lt;br&gt; members . How can i ? Please give me some idea .
  </summary>
  </entry>
  <entry>
  <author>
  <email>ivankarpey.od...@gmail.com</email>
  </author>
  <updated>2013-05-09T19:58:08Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/0ff7719fc1477659?show_docid=0ff7719fc1477659</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/0ff7719fc1477659?show_docid=0ff7719fc1477659"/>
  <title type="text">Re: [devise] use old version of devise (1.1.7) on ruby 1.9.3 and rails 3.2.11</title>
  <summary type="html" xml:space="preserve">
  I want to copy secrete token and cookie store name from the old app to the &lt;br&gt; new one. And that&#39;s approach works if I use the same devise version. But I &lt;br&gt; need to use 1.1.7 from the old app for sure.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Walter Lee Davis</name>
  <email>wa...@wdstudio.com</email>
  </author>
  <updated>2013-05-09T15:34:06Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/2706756bf504139b?show_docid=2706756bf504139b</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/2706756bf504139b?show_docid=2706756bf504139b"/>
  <title type="text">Re: [devise] use old version of devise (1.1.7) on ruby 1.9.3 and rails 3.2.11</title>
  <summary type="html" xml:space="preserve">
  What mechanism are you using to do the SSO? I went through this hassle last year, ended up using a custom OmniAuth provider in a third central Rails app to manage the identities. It was far from ideal. &lt;br&gt; &lt;p&gt;Walter
  </summary>
  </entry>
  <entry>
  <author>
  <email>ivankarpey.od...@gmail.com</email>
  </author>
  <updated>2013-05-09T14:54:12Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/3be47d3cfb9a86a7?show_docid=3be47d3cfb9a86a7</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d22b8532e25ed1c1/3be47d3cfb9a86a7?show_docid=3be47d3cfb9a86a7"/>
  <title type="text">use old version of devise (1.1.7) on ruby 1.9.3 and rails 3.2.11</title>
  <summary type="html" xml:space="preserve">
  I need to integrate old app which use devise 1.1.7 and rails 3.0.4 with &lt;br&gt; modern app based on rails 3.2.11 via SSO. &lt;br&gt; Anybody could advice how to do that? Currently when I try to open the page &lt;br&gt; on the new app, I get the following exception: &lt;br&gt; Started GET &amp;quot;/&amp;quot; for 127.0.0.1 at 2013-05-09 19:20:49 +0530
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sylario Syl</name>
  <email>syla...@gmail.com</email>
  </author>
  <updated>2013-05-08T14:16:38Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/6028a10679d2d779/53bdd0a92377e652?show_docid=53bdd0a92377e652</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/6028a10679d2d779/53bdd0a92377e652?show_docid=53bdd0a92377e652"/>
  <title type="text">Store the data drom &quot;user_return_to&quot; when a user register.</title>
  <summary type="html" xml:space="preserve">
  My rails app (3 with devise 2.2 and pg as DB) use Devise for &lt;br&gt; authentication. The whole app require for user to be logged-in. &lt;br&gt; When a new user request myapp.com/category/:c_id/produ ct/:p_id/, devise &lt;br&gt; redirect it to the register/log-in devise page. &lt;br&gt; Once the user is registered, he is redirected to the page he originally
  </summary>
  </entry>
  <entry>
  <author>
  <name>TurkeyGobbler</name>
  <email>sethc...@gmail.com</email>
  </author>
  <updated>2013-05-07T20:20:24Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/49f9f98de295cae5/77a308c813823001?show_docid=77a308c813823001</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/49f9f98de295cae5/77a308c813823001?show_docid=77a308c813823001"/>
  <title type="text">Unable to be authenticated by devise after a successful login</title>
  <summary type="html" xml:space="preserve">
  Setup: &lt;br&gt; I have a model named MyModule::User &lt;br&gt; devise_for :users, :class_name =&amp;gt; &amp;quot;MyModule::User&amp;quot;, :path_prefix =&amp;gt; &#39;/&#39;, &lt;br&gt; I&#39;m using active_admin. &lt;br&gt; Scenario: &lt;br&gt; Ok, if I login, I can step through Devise::SessionsController#cre ate, and &lt;br&gt; at the end of that method (I&#39;m using a debugging), I can issue a call to: &lt;br&gt; current_user(), which returns my user! Ok, good. I&#39;m logged in... at least,
  </summary>
  </entry>
  <entry>
  <author>
  <name>marcamillion</name>
  <email>marcamill...@gmail.com</email>
  </author>
  <updated>2013-05-07T17:20:24Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/c3e94a31de2c4f67/9ebdd621e4cb3501?show_docid=9ebdd621e4cb3501</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/c3e94a31de2c4f67/9ebdd621e4cb3501?show_docid=9ebdd621e4cb3501"/>
  <title type="text">Re: [devise] change redirect path after account confirmation</title>
  <summary type="html" xml:space="preserve">
  Was a solution for this ever found? &lt;br&gt; I tried many of the suggestions here - and they don&#39;t work for me. &lt;br&gt; Specifically, here are more details about what I have done and what&#39;s not &lt;br&gt; working &lt;br&gt; - &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/questions/16415110/overriding-redirect-path-after-user-has-confirmed-account-devise&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Vasiliy Ermolovich</name>
  <email>youn...@gmail.com</email>
  </author>
  <updated>2013-05-06T15:38:15Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/9972439f25806f1d?show_docid=9972439f25806f1d</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/9972439f25806f1d?show_docid=9972439f25806f1d"/>
  <title type="text">Re: [devise] Re: How to associate multiple emails for a single user in rails Devise</title>
  <summary type="html" xml:space="preserve">
  Hey, &lt;br&gt; &lt;p&gt;I think this is something related to your problem: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/a/4563158/336626&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;On Mon, May 6, 2013 at 6:35 PM, Quazi Marufur Rahman
  </summary>
  </entry>
  <entry>
  <author>
  <name>Quazi Marufur Rahman</name>
  <email>maruf.c...@gmail.com</email>
  </author>
  <updated>2013-05-06T15:35:49Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/09469d8a00d3779f?show_docid=09469d8a00d3779f</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/09469d8a00d3779f?show_docid=09469d8a00d3779f"/>
  <title type="text">Re: How to associate multiple emails for a single user in rails Devise</title>
  <summary type="html" xml:space="preserve">
  Any suggestions about how can I implement this?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Reinsch</name>
  <email>micha.rein...@gmail.com</email>
  </author>
  <updated>2013-05-06T02:11:03Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/7ba6a075130dff90?show_docid=7ba6a075130dff90</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/7ba6a075130dff90?show_docid=7ba6a075130dff90"/>
  <title type="text">Re: [devise] Extension to prevent session hijacking when sharing a session between http and https</title>
  <summary type="html" xml:space="preserve">
  Hello José, &lt;br&gt; &lt;p&gt;Thanks for looking into this. The main thing we wanted to do is have a shared session among the http/https pages, so we can change elements of the page depending whether you&#39;re logged in or not and pass around information. I guess we could have created another cookie which mimics a separate insecure login (i.e. not using devise for that - or a separate user in devise) - but that seems quite a lot of effort.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Quazi Marufur Rahman</name>
  <email>maruf.c...@gmail.com</email>
  </author>
  <updated>2013-05-05T15:20:40Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/4230b2de1d5ba8b2?show_docid=4230b2de1d5ba8b2</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/192353f023a39aec/4230b2de1d5ba8b2?show_docid=4230b2de1d5ba8b2"/>
  <title type="text">How to associate multiple emails for a single user in rails Devise</title>
  <summary type="html" xml:space="preserve">
  Hi &lt;br&gt; I came to know about this group after posting my question in stackoverflow. &lt;br&gt; Without cross posting, I am sharing SO question link here. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/questions/16382529/how-to-associate-multiple-emails-for-a-single-user-in-rails-devise-gem&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; It is about *How to use multiple email address for a single user.*
  </summary>
  </entry>
  <entry>
  <author>
  <name>José Valim</name>
  <email>jose.va...@gmail.com</email>
  </author>
  <updated>2013-05-04T16:34:23Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/007a86887faefe65?show_docid=007a86887faefe65</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/007a86887faefe65?show_docid=007a86887faefe65"/>
  <title type="text">Re: Extension to prevent session hijacking when sharing a session between http and https</title>
  <summary type="html" xml:space="preserve">
  Hello Michael, &lt;br&gt; I am wondering: what would happen if you set the session cookie to be only &lt;br&gt; https? Then it wouldn&#39;t work on http pages and only https. If you need to &lt;br&gt; store any information on http pages, you could create extra &amp;quot;unsafe&amp;quot; &lt;br&gt; cookies and rely on them instead. &lt;br&gt; I haven&#39;t tried what I just proposed so it may not work at all. :) If this
  </summary>
  </entry>
  <entry>
  <author>
  <name>José Valim</name>
  <email>jose.va...@gmail.com</email>
  </author>
  <updated>2013-05-04T16:28:03Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d07c0ee6a02a728e/02cb4ab1bd9c96dd?show_docid=02cb4ab1bd9c96dd</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d07c0ee6a02a728e/02cb4ab1bd9c96dd?show_docid=02cb4ab1bd9c96dd"/>
  <title type="text">Re: Creating an auth token on sessions#create</title>
  <summary type="html" xml:space="preserve">
  The token authentication is meant to be used for API access and not as a &lt;br&gt; quick-to-discard token. &lt;br&gt; So you can either come up with your own token or clean up the token &lt;br&gt; authentication. &lt;br&gt; I would suggest your own token since the token authenticable would still &lt;br&gt; work when you have your own API. &lt;br&gt; Also, if you are accessing it directly from the browser, you could just use
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lucas Mazza</name>
  <email>lucastma...@gmail.com</email>
  </author>
  <updated>2013-05-04T16:15:02Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/29761268f86f28eb/b876985b422dfd77?show_docid=b876985b422dfd77</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/29761268f86f28eb/b876985b422dfd77?show_docid=b876985b422dfd77"/>
  <title type="text">Re: [devise] Devise with many user flows</title>
  <summary type="html" xml:space="preserve">
  Since you&#39;re using your own controller already, you can organize your &lt;br&gt; multiple flows in any way you want. You can make a specific action for your &lt;br&gt; recommendation code URL and handle the commitment logic in your model &lt;br&gt; validations and with some JavaScript to hide/show the fields in your form. &lt;br&gt; &lt;p&gt;If you controller ends up too big you might want to extract the code to new
  </summary>
  </entry>
  <entry>
  <author>
  <name>chrusticus</name>
  <email>r...@foogoo.info</email>
  </author>
  <updated>2013-05-03T11:01:58Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/aa3bf0091c97e70c/dbe839dcab9535da?show_docid=dbe839dcab9535da</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/aa3bf0091c97e70c/dbe839dcab9535da?show_docid=dbe839dcab9535da"/>
  <title type="text">Re: Rails 3 Overriding Devise Mailer Issues</title>
  <summary type="html" xml:space="preserve">
  Hi Dennis, &lt;br&gt; I don&#39;t know if your problem is still existent, but if: &lt;br&gt; I think, you are the one who made Rails send the message twice... &lt;br&gt; With changing the Mailer-methods to use the mandrill API you are sending &lt;br&gt; the mail. And at the end &lt;br&gt; of your method you call &amp;quot;super&amp;quot;, what just leads to a regular call of the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Rutte</name>
  <email>rutger.karls...@gmail.com</email>
  </author>
  <updated>2013-05-02T16:42:58Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/29761268f86f28eb/fe84f3c350887dfc?show_docid=fe84f3c350887dfc</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/29761268f86f28eb/fe84f3c350887dfc?show_docid=fe84f3c350887dfc"/>
  <title type="text">Devise with many user flows</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I am building an app were users can sign up via email, twitter or github &lt;br&gt; (using omniauth), they can while doing this also use a campaign code, &lt;br&gt; invite code or a recommendation code. The codes are part of a link emailed &lt;br&gt; to the users, so there are no &amp;quot;if you have a code please enter it here&amp;quot; &lt;br&gt; stuff. It&#39;s all handled in the registrations controller. Users can also
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lucas Mazza</name>
  <email>lucastma...@gmail.com</email>
  </author>
  <updated>2013-05-02T15:10:43Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/60833c5edda512d3/cecc8d1bd648d163?show_docid=cecc8d1bd648d163</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/60833c5edda512d3/cecc8d1bd648d163?show_docid=cecc8d1bd648d163"/>
  <title type="text">Re: [devise] Prevent the updated_at field in User to get modified while signing in using devise</title>
  <summary type="html" xml:space="preserve">
  What modules are you using? Such behaviour is done by the hooks that Devise &lt;br&gt; adds to Warden based on the modules/strategies you are using. Check the &lt;br&gt; files at &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/tree/d9d5ae3d58d4a9fad94107fa29e30af96ec9891b/lib/devise/hooks&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; for &lt;br&gt; more.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kalle Saas</name>
  <email>ka...@easypep.de</email>
  </author>
  <updated>2013-05-02T08:59:24Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/60833c5edda512d3/e2b06e8f8caa3ece?show_docid=e2b06e8f8caa3ece</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/60833c5edda512d3/e2b06e8f8caa3ece?show_docid=e2b06e8f8caa3ece"/>
  <title type="text">Prevent the updated_at field in User to get modified while signing in using devise</title>
  <summary type="html" xml:space="preserve">
  Hey, &lt;br&gt; i noticed that on each sign_in/sign_out the updated_at field from the user &lt;br&gt; gets modified. Is there a possibility to suppress/change this behavior ? i &lt;br&gt; could not figure out where this happends in the devise code.... &lt;br&gt; thanks, &lt;br&gt; Kalle
  </summary>
  </entry>
  <entry>
  <author>
  <name>Rajmohan Banavi</name>
  <email>rajmohanban...@gmail.com</email>
  </author>
  <updated>2013-05-01T17:38:40Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/6bed1268ea2c6e41?show_docid=6bed1268ea2c6e41</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/6bed1268ea2c6e41?show_docid=6bed1268ea2c6e41"/>
  <title type="text">Re: [devise] Accessing other user accounts</title>
  <summary type="html" xml:space="preserve">
  Hello Michael, &lt;br&gt; &lt;p&gt;Your suggested code change of &amp;quot;current_user&amp;quot; worked as expected. Now I can &lt;br&gt; understand why the behavior I was seeing earlier was obvious, and what a &lt;br&gt; silly mistake I was making. &lt;br&gt; &lt;p&gt;Certainly, will go through Michael Hartl&#39;s tutorial. &lt;br&gt; &lt;p&gt;Thanks, &lt;br&gt; Rajmohan &lt;br&gt; &lt;p&gt;On Wed, May 1, 2013 at 11:14 AM, Michael Kaiser-Nyman
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kenny Lövrin</name>
  <email>kennylov...@gmail.com</email>
  </author>
  <updated>2013-05-01T14:32:07Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/57f32ee78f4ceda4?show_docid=57f32ee78f4ceda4</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/57f32ee78f4ceda4?show_docid=57f32ee78f4ceda4"/>
  <title type="text">Re: [devise] Invalid confirmation token</title>
  <summary type="html" xml:space="preserve">
  Sorry, a typo in my last message, it should be Rails 3.2.13!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kenny Lövrin</name>
  <email>kennylov...@gmail.com</email>
  </author>
  <updated>2013-05-01T14:31:10Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/59c81e93cba4245c?show_docid=59c81e93cba4245c</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/59c81e93cba4245c?show_docid=59c81e93cba4245c"/>
  <title type="text">Re: [devise] Invalid confirmation token</title>
  <summary type="html" xml:space="preserve">
  Hi &lt;br&gt; &lt;p&gt;we&#39;re using devise 2.2.3, devise-async 0.7 and rails 3.2.11 &lt;br&gt; i am not sure if the tokens are different, because when the user clicks the &lt;br&gt; link i don&#39;t know what user it is as it cannot find the user object based &lt;br&gt; on the token. &lt;br&gt; if i take the token from the error i can&#39;t find a user manually based on
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Kaiser-Nyman</name>
  <email>michael...@gmail.com</email>
  </author>
  <updated>2013-05-01T05:44:25Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/c017f85e9cc1b58d?show_docid=c017f85e9cc1b58d</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/c017f85e9cc1b58d?show_docid=c017f85e9cc1b58d"/>
  <title type="text">Re: [devise] Accessing other user accounts</title>
  <summary type="html" xml:space="preserve">
  Hey Rajmohan. It sounds like you might not totally be clear on how &lt;br&gt; authentication and authorization work. It can be tough to understand how to &lt;br&gt; properly use an authentication gem like Devise if you haven&#39;t rolled you &lt;br&gt; own auth before. Michael Hartl&#39;s Rails Tutorial has an awesome, in-depth &lt;br&gt; guide on how to write your own auth
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Reinsch</name>
  <email>micha.rein...@gmail.com</email>
  </author>
  <updated>2013-05-01T05:43:02Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/28d8aa9f877ca5e1?show_docid=28d8aa9f877ca5e1</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/1506192fd3798aa0/28d8aa9f877ca5e1?show_docid=28d8aa9f877ca5e1"/>
  <title type="text">Extension to prevent session hijacking when sharing a session between http and https</title>
  <summary type="html" xml:space="preserve">
  Hi everyone, &lt;br&gt; For a project, we&#39;re sharing a session between http and https. The http &lt;br&gt; part of the site is mainly for display, any operations are secured by &lt;br&gt; https. So I wrote a little devise extension to create an extra SSL-only &lt;br&gt; cookie which is used to prevent session hijacking. The idea is that all
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Kaiser-Nyman</name>
  <email>michael...@gmail.com</email>
  </author>
  <updated>2013-05-01T05:36:05Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d07c0ee6a02a728e/a9f32ec4285abe25?show_docid=a9f32ec4285abe25</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d07c0ee6a02a728e/a9f32ec4285abe25?show_docid=a9f32ec4285abe25"/>
  <title type="text">Creating an auth token on sessions#create</title>
  <summary type="html" xml:space="preserve">
  I&#39;m moving an app using Devise from plain old Rails to Rails API + &lt;br&gt; Ember.js, and so I&#39;m switching from &amp;quot;regular&amp;quot; Devise to using an &lt;br&gt; authentication token. POSTing an email and password to /users/sign_in &lt;br&gt; successfully authenticates me and, thanks to Devise&#39;s respond_with, returns &lt;br&gt; the user as JSON including the auth token, which I can use to authenticate
  </summary>
  </entry>
  <entry>
  <author>
  <name>Rajmohan Banavi</name>
  <email>rajmohanban...@gmail.com</email>
  </author>
  <updated>2013-04-30T18:09:20Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/337e4fe1efc6d010?show_docid=337e4fe1efc6d010</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/a3a3b8f73052cc90/337e4fe1efc6d010?show_docid=337e4fe1efc6d010"/>
  <title type="text">Re: [devise] Accessing other user accounts</title>
  <summary type="html" xml:space="preserve">
  Thanks Lucas. But I am using a vanilla users controller and from their I &lt;br&gt; access all the articles created by that current_user. Once I login as &lt;br&gt; user1, I see all articles of user1 at the url &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.com/users/1&quot;&gt;[link]&lt;/a&gt;. &lt;br&gt; Now I just go to the title bar in the browser and change the id from 1 to 2
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lucas Mazza</name>
  <email>lucastma...@gmail.com</email>
  </author>
  <updated>2013-04-30T17:33:57Z</updated>
  <id>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/ee4576b7cbe4d608?show_docid=ee4576b7cbe4d608</id>
  <link href="http://groups.google.com/group/plataformatec-devise/browse_thread/thread/e02f58a0dcfe7f17/ee4576b7cbe4d608?show_docid=ee4576b7cbe4d608"/>
  <title type="text">Re: [devise] Invalid confirmation token</title>
  <summary type="html" xml:space="preserve">
  What gem versions are you using (Rails, Devise, Devise-async), and how the &lt;br&gt; token that is used in the links is different from the one that is present &lt;br&gt; in your database? They are blank or the tokens aren&#39;t the same? &lt;br&gt; &lt;p&gt;Unfortunately you might need to supply more details about your Rails &lt;br&gt; application and infrastructure so we can try to help you out.
  </summary>
  </entry>
</feed>
