Google Admin SDK 403 Not Authorized to Access this Resource/API

后端 未结 4 533
孤城傲影
孤城傲影 2021-01-13 02:36

I use the following code in a java web application to try to get all users of a group:

GoogleCredential credential = GoogleCredential.fromStream(Util.class.g         


        
4条回答
  •  Happy的楠姐
    2021-01-13 03:11

    For now, I am just using the p12 file as outlined here:

    https://developers.google.com/admin-sdk/directory/v1/guides/delegation

    If anyone knows of a way to execute the code in this question with a json file, feel free to comment/answer.

提交回复
热议问题