devise & facebook omniauth

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

devise & facebook omniauth

Joe Guerra
I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password

and removed the confirmation to update the profile which worked, but did not update the devise password.

has anyone dealt with this and found a way around it?

Thanks,
Joe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Walter Lee Davis
When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.

Walter

> On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
>
> I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
>
> and removed the confirmation to update the profile which worked, but did not update the devise password.
>
> has anyone dealt with this and found a way around it?
>
> Thanks,
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/07710EC9-0AB0-470D-8AC5-B3F31D3752DF%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.

So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)

And I guess if they have initially they can't log in using facebook?

Thanks,
Joe

On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.

Walter

> On Oct 4, 2018, at 9:48 AM, Joe Guerra <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Yv96tspvAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jgu...@...> wrote:
>
> I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> So I had no way of updating the profile, then I found this ... <a href="https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;">https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
>
> and removed the confirmation to update the profile which worked, but did not update the devise password.
>
> has anyone dealt with this and found a way around it?
>
> Thanks,
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Yv96tspvAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Yv96tspvAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?


On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.

So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)

And I guess if they have initially they can't log in using facebook?

Thanks,
Joe

On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.

Walter

> On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
>
> I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
>
> and removed the confirmation to update the profile which worked, but did not update the devise password.
>
> has anyone dealt with this and found a way around it?
>
> Thanks,
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Walter Lee Davis
You may want to look at OmniAuth for this: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview 

You can sign in using any number of different strategies, including local authentication, if you set it up right.

Walter

> On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
>
> Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
>
>
> On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
>
> So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> .
> And I guess if they have initially they can't log in using facebook?
>
> Thanks,
> Joe
>
> On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
>
> Walter
>
> > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> >
> > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password 
> >
> > and removed the confirmation to update the profile which worked, but did not update the devise password.
> >
> > has anyone dealt with this and found a way around it?
> >
> > Thanks,
> > Joe
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/30CF2FFF-88B9-4B1C-A35A-35F09B14253B%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
I believe I set it up correctly?
Take a look. 

https://cryptic-inlet-13518.herokuapp.com/

On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
You may want to look at OmniAuth for this: <a href="https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FOmniAuth%3A-Overview\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUCJP6iS4v7iCCJMCICRoOQ_Fy4A&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FOmniAuth%3A-Overview\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUCJP6iS4v7iCCJMCICRoOQ_Fy4A&#39;;return true;">https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview

You can sign in using any number of different strategies, including local authentication, if you set it up right.

Walter

> On Oct 4, 2018, at 9:39 PM, Joe Guerra <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jgu...@...> wrote:
>
> Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
>
>
> On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">JGu...@...> wrote:
> Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
>
> So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> .
> And I guess if they have initially they can't log in using facebook?
>
> Thanks,
> Joe
>
> On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
>
> Walter
>
> > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> >
> > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > So I had no way of updating the profile, then I found this ... <a href="https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;">https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
> >
> > and removed the confirmation to update the profile which worked, but did not update the devise password.
> >
> > has anyone dealt with this and found a way around it?
> >
> > Thanks,
> > Joe
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="dX9TxJ98AgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Walter Lee Davis
I don't have Facebook, so I can't try that angle, but you have both devise database_authenticatable and omniauth enabled in your User, right?

Walter

> On Oct 4, 2018, at 10:25 PM, Joe Guerra <[hidden email]> wrote:
>
> I believe I set it up correctly?
> Take a look.
>
> https://cryptic-inlet-13518.herokuapp.com/
>
> On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
> You may want to look at OmniAuth for this: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview 
>
> You can sign in using any number of different strategies, including local authentication, if you set it up right.
>
> Walter
>
> > On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
> >
> > Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
> >
> >
> > On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> > Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
> >
> > So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> > .
> > And I guess if they have initially they can't log in using facebook?
> >
> > Thanks,
> > Joe
> >
> > On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> > When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
> >
> > Walter
> >
> > > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> > >
> > > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > > So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password 
> > >
> > > and removed the confirmation to update the profile which worked, but did not update the devise password.
> > >
> > > has anyone dealt with this and found a way around it?
> > >
> > > Thanks,
> > > Joe
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
Yes, both are enabled.  

So I guess that means you can only use one or the other?

On Thu, Oct 4, 2018 at 10:33 PM Walter Lee Davis <[hidden email]> wrote:
I don't have Facebook, so I can't try that angle, but you have both devise database_authenticatable and omniauth enabled in your User, right?

Walter

> On Oct 4, 2018, at 10:25 PM, Joe Guerra <[hidden email]> wrote:
>
> I believe I set it up correctly?
> Take a look.
>
> https://cryptic-inlet-13518.herokuapp.com/
>
> On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
> You may want to look at OmniAuth for this: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview
>
> You can sign in using any number of different strategies, including local authentication, if you set it up right.
>
> Walter
>
> > On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
> >
> > Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
> >
> >
> > On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> > Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
> >
> > So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> > .
> > And I guess if they have initially they can't log in using facebook?
> >
> > Thanks,
> > Joe
> >
> > On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> > When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
> >
> > Walter
> >
> > > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> > >
> > > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > > So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
> > >
> > > and removed the confirmation to update the profile which worked, but did not update the devise password.
> > >
> > > has anyone dealt with this and found a way around it?
> > >
> > > Thanks,
> > > Joe
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Walter Lee Davis
You may be able to recover your password (since you don't have one to begin with) if you signed up with Facebook and then decide to move to local authentication. You could try that, if you have a Facebook account, try using the password recovery path to add a new password to your account.

Walter

> On Oct 4, 2018, at 10:41 PM, Joe Guerra <[hidden email]> wrote:
>
> Yes, both are enabled.  
>
> So I guess that means you can only use one or the other?
>
> On Thu, Oct 4, 2018 at 10:33 PM Walter Lee Davis <[hidden email]> wrote:
> I don't have Facebook, so I can't try that angle, but you have both devise database_authenticatable and omniauth enabled in your User, right?
>
> Walter
>
> > On Oct 4, 2018, at 10:25 PM, Joe Guerra <[hidden email]> wrote:
> >
> > I believe I set it up correctly?
> > Take a look.
> >
> > https://cryptic-inlet-13518.herokuapp.com/
> >
> > On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
> > You may want to look at OmniAuth for this: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview 
> >
> > You can sign in using any number of different strategies, including local authentication, if you set it up right.
> >
> > Walter
> >
> > > On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
> > >
> > > Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
> > >
> > >
> > > On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> > > Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
> > >
> > > So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> > > .
> > > And I guess if they have initially they can't log in using facebook?
> > >
> > > Thanks,
> > > Joe
> > >
> > > On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> > > When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
> > >
> > > Walter
> > >
> > > > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> > > >
> > > > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > > > So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password 
> > > >
> > > > and removed the confirmation to update the profile which worked, but did not update the devise password.
> > > >
> > > > has anyone dealt with this and found a way around it?
> > > >
> > > > Thanks,
> > > > Joe
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > > To post to this group, send email to [hidden email].
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout.
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
Ok, I'll try that.  I had this crazy problem that I fixed before - if you created a profile using facebook you couldn't update your profile because u didn't have a local password.  lol.  I fixed that (not needing the password to update the record).

On Thu, Oct 4, 2018 at 10:49 PM Walter Lee Davis <[hidden email]> wrote:
You may be able to recover your password (since you don't have one to begin with) if you signed up with Facebook and then decide to move to local authentication. You could try that, if you have a Facebook account, try using the password recovery path to add a new password to your account.

Walter

> On Oct 4, 2018, at 10:41 PM, Joe Guerra <[hidden email]> wrote:
>
> Yes, both are enabled. 
>
> So I guess that means you can only use one or the other?
>
> On Thu, Oct 4, 2018 at 10:33 PM Walter Lee Davis <[hidden email]> wrote:
> I don't have Facebook, so I can't try that angle, but you have both devise database_authenticatable and omniauth enabled in your User, right?
>
> Walter
>
> > On Oct 4, 2018, at 10:25 PM, Joe Guerra <[hidden email]> wrote:
> >
> > I believe I set it up correctly?
> > Take a look.
> >
> > https://cryptic-inlet-13518.herokuapp.com/
> >
> > On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
> > You may want to look at OmniAuth for this: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview
> >
> > You can sign in using any number of different strategies, including local authentication, if you set it up right.
> >
> > Walter
> >
> > > On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
> > >
> > > Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
> > >
> > >
> > > On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> > > Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
> > >
> > > So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> > > .
> > > And I guess if they have initially they can't log in using facebook?
> > >
> > > Thanks,
> > > Joe
> > >
> > > On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> > > When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
> > >
> > > Walter
> > >
> > > > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> > > >
> > > > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > > > So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
> > > >
> > > > and removed the confirmation to update the profile which worked, but did not update the devise password.
> > > >
> > > > has anyone dealt with this and found a way around it?
> > > >
> > > > Thanks,
> > > > Joe
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > > To post to this group, send email to [hidden email].
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout.
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMnmcm4URShWAf7Z53raj5LHGYqDT79o0J-LUbwobTt_PQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: devise & facebook omniauth

Joe Guerra
I fixed up my login and sign up pages.

https://cryptic-inlet-13518.herokuapp.com/users/sign_up

I also fixed the invalid token error when login out, I believe.  I added some login status to the profile page (basically where you've signed in from and removed the password field if you've used facebook to login).

Hopefully, people won't get too confused.

On Thursday, October 4, 2018 at 10:54:53 PM UTC-4, Joe Guerra wrote:
Ok, I'll try that.  I had this crazy problem that I fixed before - if you created a profile using facebook you couldn't update your profile because u didn't have a local password.  lol.  I fixed that (not needing the password to update the record).

On Thu, Oct 4, 2018 at 10:49 PM Walter Lee Davis <[hidden email]> wrote:
You may be able to recover your password (since you don't have one to begin with) if you signed up with Facebook and then decide to move to local authentication. You could try that, if you have a Facebook account, try using the password recovery path to add a new password to your account.

Walter

> On Oct 4, 2018, at 10:41 PM, Joe Guerra <[hidden email]> wrote:
>
> Yes, both are enabled. 
>
> So I guess that means you can only use one or the other?
>
> On Thu, Oct 4, 2018 at 10:33 PM Walter Lee Davis <[hidden email]> wrote:
> I don't have Facebook, so I can't try that angle, but you have both devise database_authenticatable and omniauth enabled in your User, right?
>
> Walter
>
> > On Oct 4, 2018, at 10:25 PM, Joe Guerra <[hidden email]> wrote:
> >
> > I believe I set it up correctly?
> > Take a look.
> >
> > <a href="https://cryptic-inlet-13518.herokuapp.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcryptic-inlet-13518.herokuapp.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRu0FWb1PP1wJJSa0zlbkdaiormw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcryptic-inlet-13518.herokuapp.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRu0FWb1PP1wJJSa0zlbkdaiormw&#39;;return true;">https://cryptic-inlet-13518.herokuapp.com/
> >
> > On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
> > You may want to look at OmniAuth for this: <a href="https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FOmniAuth%3A-Overview\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUCJP6iS4v7iCCJMCICRoOQ_Fy4A&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FOmniAuth%3A-Overview\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEUCJP6iS4v7iCCJMCICRoOQ_Fy4A&#39;;return true;">https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview
> >
> > You can sign in using any number of different strategies, including local authentication, if you set it up right.
> >
> > Walter
> >
> > > On Oct 4, 2018, at 9:39 PM, Joe Guerra <[hidden email]> wrote:
> > >
> > > Sorry, I guess if they have logged in using devise locally initially they can't log in using facebook?
> > >
> > >
> > > On Thu, Oct 4, 2018 at 9:34 PM Joe Guerra <[hidden email]> wrote:
> > > Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
> > >
> > > So you're either registered locally or by facebook.  I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
> > > .
> > > And I guess if they have initially they can't log in using facebook?
> > >
> > > Thanks,
> > > Joe
> > >
> > > On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
> > > When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
> > >
> > > Walter
> > >
> > > > On Oct 4, 2018, at 9:48 AM, Joe Guerra <[hidden email]> wrote:
> > > >
> > > > I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> > > > So I had no way of updating the profile, then I found this ... <a href="https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fplataformatec%2Fdevise%2Fwiki%2FHow-To%3A-Allow-users-to-edit-their-account-without-providing-a-password\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGpRN0fidohP1PCnK9GGvaL4nKRnw&#39;;return true;">https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password
> > > >
> > > > and removed the confirmation to update the profile which worked, but did not update the devise password.
> > > >
> > > > has anyone dealt with this and found a way around it?
> > > >
> > > > Thanks,
> > > > Joe
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> > > > To post to this group, send email to [hidden email].
> > > > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/b1c677b5-0c3e-4130-ae02-8c52809da84b%40googlegroups.com.
> > > > For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
> > > For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> > > To post to this group, send email to [hidden email].
> > > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkQ2-uH2cDpo4CxVSYWgiUFtGGDg1%2Bz%3DZ5vN8%2BCz9%3DafQ%40mail.gmail.com.
> > > For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To post to this group, send email to [hidden email].
> > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/9bbd9c9f-3c08-43b9-b02e-989ad75a77c8%40googlegroups.com.
> > For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/4BBAAB0E-E665-4969-9F7A-5A8225C67186%40wdstudio.com.
> For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMmiuBMkeq0CjBmwnVToA9pYJNTKcAdfyzMea5a7-c9G4A%40mail.gmail.com.
> For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/4B627BCC-72C5-420D-BE1E-8740D7ABA5ED%40wdstudio.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9dc05d70-3b5d-4248-a92c-4392658aec72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.