Authenticate user using omniauth and Facebook for a rails API?

后端 未结 3 1773
抹茶落季
抹茶落季 2021-01-29 19:48

I\'m building a Rails API and have successfully built a way for a user to authenticate using Omniauth Identity.

We simply post to auth/identity/callback from the client,

3条回答
  •  广开言路
    2021-01-29 20:42

    To communication with facebook api. I recommend use 'omniauth-facebook' gem. You can clone this example to understand more: https://github.com/ralphos/omniauth-facebook-example

提交回复
热议问题