I've set up a rails project using devise and omniauth-facebook. It works but I can only access certain information using user.email =auth.info.email || ""
user.email =auth.info.email || ""
etc.
I'm pretty new to this, especially JSON so I'm wondering is there a quick and easy way to see exactly what env["omniauth.auth"]
is returning in the callback?
I've been at this for hours. Sorry if I haven't provided enough information.
我可以使用puts env["omniauth.auth"]
向我确切显示哈希中的内容
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.