provider

Deprecated

Users might have multiple providers. This will return the provider of the first identity of the user

Replace with

identities

Returns the provider type used to log the user in. If a user logs out, the authentication provider last used to log the user in will still be returned.