Closed SidharthBansal closed 6 years ago
You have to fill your app's Privacy Policy URL
and Terms of Service URL
(just fill random link if you don't have yet), then head to Permission tab and choose Request email addresses from users
. And yes, this is only configuration on your app, not relate to either devise or omniauth.
I want to know the place where it is stored inside the hash. Is it hash[info][email]?
I'm not sure, use debug and you can find out.
@SidharthBansal You can get the email in request.env['omniauth.auth'][:info][:email]
The request.env['omniauth.auth'] doesn't create email field. But stackoverflow shows that there is a way to fetch email addresses via twitter. Can anyone help me how to fetch it? I am not using devise. I have made my own login system