Home FB login with devise
Reply: 1

FB login with devise

user9187456
1#
user9187456 Published in 2018-01-08 10:23:41Z

I am using devise in my rails app and doing FB login via oauth

I am successful in doing login from laptop but not through chrome android

Error url is https://m.facebook.com/v2.11/dialog/oauth?client_id=1709176549128219&redirect_uri=http%3A%2F%2Fconsiliumnsit.herokuapp.com%2Fusers%2Fauth%2Ffacebook%2Fcallback&response_type=code&scope=public_profile%2Cemail&state=c96b3d4ce6d9afd513a8239307092ef7be4c6a2c6888765b

DaImTo
2#
DaImTo Reply to 2018-01-08 10:46:43Z

When you created your app in facebook developer console you added a redirect uri. The request you are currently sending is coming from a url that you have not currently added. Go edit your project and add it

http://consiliumnsit.herokuapp.com/users/auth/facebook/callback

its on the left facebook login -> settings look for Valid OAuth redirect URIs you can add more then one

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.297911 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO