So viewing all the identities should be available through
@user = User.find(<<add id here >)
@user.identities.all
To find a specific identity, you might want to do:
@user.identities.where(provider: 'facebook').first
or whatever string you have for the provider.
You could also define a method on the user model for each of the identities.