Is there an easy way to detect if user is signed i...
# support-questions-legacy
e
Is there an easy way to detect if user is signed in via OAuth2 provider and which provider? I can get access to "third party id" from GetUserById satisfying the first part, but that appears to about it
r
hey @Erick yea - using the thirdPartyId is the best way
e
Never looked at the value of it, does it have indicator which oauth provider?
r
Yes.
For example, with google sign in, the value of it will be “google”
e
Awesome!
3 Views