I am trying to get an email verification link for a particular email registered user via System.out.println(gitkitClient.getEmailVerificationLink(gitkitUser.getEmail()));. However, I am getting this exception: com.google.identitytoolkit.GitkitServerException: org.json.JSONException: JSONObject["access_token"] not found.
My bad, it turns out that I have used an invalid ServiceAccountEmail. The correct form should be like this: service-name@project-name.xxx.xxxxxxxxx.xxx
I am trying to get an email verification link for a particular email registered user via
System.out.println(gitkitClient.getEmailVerificationLink(gitkitUser.getEmail()));
. However, I am getting this exception: com.google.identitytoolkit.GitkitServerException: org.json.JSONException: JSONObject["access_token"] not found.May I know what have I done wrong.
Thanks in advance.