I'm using the omniauth gem so people can log in to my site with their google accounts. I have it working with facebook and twitter but I for google accounts I can't extract the UID properly on the callback.
For Facebook & Twitter I can use:
@user.uid = auth["uid"]
But this gives me:
https://www.google.com/accounts/o8/id?id=gXtgsdgirhGugasuzdg-asdhuzigaoWV1kgo
When I try to use a google account. I also can't work out how to get a photo.
Thanks! Alex