Auth0 Home Blog Docs

Getting nil email after successful login (OmniAuth::AuthHash)

auth0
api
login

#1

I am trying to implement Auth0 with our enterprise emails. I stoped Auth0 default user registration and login. Only using Enterprise Google Apps for login.

I created the callback and failure url that are working fine. After login by enterprise email account using auth0 I am getting email as nil value.
API response is :-

OmniAuth::AuthHash::InfoHash email=nil image=“https://xxx.googleusercontent.com/-xxxx.jpg” name=“foo” nickname=“foo”