Is it possible to determine how the user was authenticated? In my setup, the user can be authenticated by Facebook, GitHub, LinkedIn or Auth0 username/password. I also have it setup so accounts are linked based on same email address. For one of my test accounts, I have Facebook & LinkedIn profiles linked. I can see these 2 identities returned. Every time I login using either Facebook or LinkedIn, the ‘sub’ returned is always the linkedIn value. So, I’m not able to determine if the user authenticated via Facebook or LinkedIn.
My objective is to understand which service the user used to login with so I can display an icon representing which service they used. With my test account, I want to display LinkedIn when authenticated via LinkedIn or show Facebook when authenticated via Facebook. How do I surface from Auth0 which service was used for authentication?