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

后端 未结 4 511
孤城傲影
孤城傲影 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条回答
  •  无人及你
    2021-01-13 03:13

    As JSON credentials is not supported serviceAccountUser I've done workaround: make credential copy.

    See code here: https://stackoverflow.com/a/42313446/548473

提交回复
热议问题