Re: [Rails] Social Login with Rails5 API

2017-10-23 Thread Learn Rails
Thanks for your response... I have no clue where should I start my work for this social login.. gems needed are omniauth-facebook.. any guides or tutorials for this social login api.. On Tue, Oct 24, 2017 at 11:50 AM, Robby O'Connor wrote: > there's also devise-token-auth > > On Oct 24, 2017 2:2

Re: [Rails] Social Login with Rails5 API

2017-10-23 Thread Robby O'Connor
there's also devise-token-auth On Oct 24, 2017 2:20 AM, "Robby O'Connor" wrote: > devise and omniauth. > > On Oct 24, 2017 2:19 AM, "James" wrote: > >> Hi all, >> >> I need to give social logins end point for facebook and gmail using rails >> api. Can anyone suggest me how can I achieve this on

Re: [Rails] Social Login with Rails5 API

2017-10-23 Thread Robby O'Connor
devise and omniauth. On Oct 24, 2017 2:19 AM, "James" wrote: > Hi all, > > I need to give social logins end point for facebook and gmail using rails > api. Can anyone suggest me how can I achieve this one any guide plz.. > > Thanks in advance.. > > -- > You received this message because you are

[Rails] Social Login with Rails5 API

2017-10-23 Thread James
Hi all, I need to give social logins end point for facebook and gmail using rails api. Can anyone suggest me how can I achieve this one any guide plz.. Thanks in advance.. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscrib

Re: [Rails] Rails5 API with Devise gem

2017-10-23 Thread James
As this is api we don't have views. <%= debug current_user %> can't be done. I have just used devise gem am trying to override the login of devise as devise have its own login process but in api it does not work that way.. Correct me am wrong.. On Tuesday, October 24, 2017 at 6:44:23 AM UTC+5:

Re: [Rails] Rails5 API with Devise gem

2017-10-23 Thread Walter Lee Davis
> On Oct 23, 2017, at 7:57 AM, Learn Rails wrote: > > Hi all, > > I am using devise gem in my rails5 api. There is a endpoint for login am > using my own endpoint for login and when I try to login it works fine but > devise related column are not updating like sign_in_count and ip related. c

[Rails] Rails5 API with Devise gem

2017-10-23 Thread Learn Rails
Hi all, I am using devise gem in my rails5 api. There is a endpoint for login am using my own endpoint for login and when I try to login it works fine but devise related column are not updating like sign_in_count and ip related. can some on help me how can I do those things and any guide to cr