问题描述
https://docs.authing.cn/v2/reference/sdk-for-node/authentication/SocialAuthenticationClient.html
重现步骤
const authenticationClient = new AuthenticationClient({
appId: ‘61a24b25124b24612c180d6c’,
appHost: ‘https://playertest.authing.cn/’,
})
await authenticationClient.social.authorize('github', {
popup: true,
onSuccess: (user) => {
console.log(user)
},
onError: (code, message) => {},
})
{
“statusCode”: 500,
“message”: “Internal server error”
}
附加信息
-
Version:
“authing-js-sdk”: “^4.23.27”, -
Platform:
Google