Ruby on Rails
Thursday, October 4, 2018
I believe I set it up correctly?
https://cryptic-inlet-13518.herokuapp.com/
On Thursday, October 4, 2018 at 10:07:16 PM UTC-4, Walter Lee Davis wrote:
-- 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 <jgu...@jginfosys.com> 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 <JGu...@jginfosys.com> 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 <jgu...@jginfosys.com> 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 rubyonrails-ta...@googlegroups.com .
> > To post to this group, send email to rubyonra...@googlegroups.com.
> > 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 rubyonrails-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> 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 rubyonrails-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment