ruby on rails - Sign in and sign up functionality using oauth -


hello want perform functionality sign in or sign facebook using oauth2.

i have generated consumer controller oauth , consume services provided facebook. want have functionality of sign in , signup. im getting error this.

my control comes def load_consumer there not going in def callback2. if user signed in works fine else crashes.

and wanted know when use oauth provider , when use oauth consumer.

please if find proper documentation please post here.

thanks in adavnace.

there's live example of how implement facebook login via temboo sdk here. source code example available on github (in php) can generate ruby code need achieve same behavior via temboo website, see link below:

https://www.temboo.com/library/library/facebook/oauth/

(full disclosure: work @ temboo, let me know if have questions).


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -