Then I printed out fields in userInfo in function ConnectorReceiver in google.go. It turns out that google doesn't return ID field as unique identifier for users, instead it uses Sub field.
So I changed ExternalID: respGoogleAuthUserInfo.ID to ExternalID: respGoogleAuthUserInfo.Sub and connected to google account successfully!
I tried connect to google but face this issue:
Then I printed out fields in userInfo in function ConnectorReceiver in google.go. It turns out that google doesn't return ID field as unique identifier for users, instead it uses Sub field.![image](https://github.com/apache/incubator-answer-plugins/assets/88925843/adb12e5f-5dc3-4e37-96fb-0531d728c36e)
So I changed ExternalID: respGoogleAuthUserInfo.ID to ExternalID: respGoogleAuthUserInfo.Sub and connected to google account successfully!![after](https://github.com/apache/incubator-answer-plugins/assets/88925843/ad80b2c4-31d3-4f4d-98d2-0eb0563603dc)