Add endpoint to search user by external profile url (presently only supports linkedin). If the user/social link is not found, a user is created and is returned.
Ability to link social profile with user. If another unclaimed user with the social link exists, transfer all the reviews and followers to the former user.
Refactored social link to use OAuth
Add
TODO
[ ] LinkedIn Auth is broken at the time I'm making this PR, so we need to check the profileUrl field in linkSocialAccount in user.service.ts
Description
Fixes #72
Here are the changes made in this PR:
Add endpoint to search user by external profile url (presently only supports linkedin). If the user/social link is not found, a user is created and is returned.
Ability to link social profile with user. If another unclaimed user with the social link exists, transfer all the reviews and followers to the former user.
Refactored social link to use OAuth
Add
TODO
profileUrl
field inlinkSocialAccount
inuser.service.ts
profileUrl -> userId