使用自定义令牌的Firebase身份验证错误

I am trying to authenticate user in firebase with KakaoTalk credentials. For that, I've got accesstoken from KakaoTalk. And then trying to authenticate user with that token. Here is my code :

      String token = await kakaoService.getAccessToken();
      await firebaseAuth.signInWithCustomToken(
        token: token,
      );

Got acceess token like this : nmAzFpOF9XrijP-ZoFpQbVluGZ4lLDbZxOCXIAo9c-sAAAFxrID6xA

但是得到这个错误:

自定义令牌格式不正确。请检查文档。 [无效的断言格式。需要3个点分隔的段。 ]

怎么了我想念什么吗?