在authing_sdk 1.1.3 Flutter SDK版本中,sign with apple代码错了.
/// login by apple auth code
static Future<AuthResult> loginByApple(String code) async {
var body = jsonEncode({'code': code});
final Result result = await post(
'connection/social/apple/' +
Authing.sUserPoolId +
'/callback?app_id=' +
Authing.sAppId,
jsonEncode(body));
AuthResult authResult = AuthResult(result);
authResult.user = await createUser(result);
return authResult;
}
url的path前面少了一个/, 导致每次请求必然发生bug;
竟然犯这么低级的错误,Authing是没有测试团队吗?