0

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 || "" 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.

Al D
  • 657
  • 2
  • 10
  • 27

1 Answers1

0

I can use puts env["omniauth.auth"] to show me exactly what's in the hash

Al D
  • 657
  • 2
  • 10
  • 27