Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Google Play Console Integration

ASVijayan
New Contributor
New Contributor

Hi,

We are trying to onboard Google Play Console as a Rest based application, and the application Team has provided the following APIs for the integration:

https://developers.google.com/android-publisher/api-ref/rest/v3/users

They are using Service Account key for authentication and have shared the JSON key. (https://developers.google.com/identity/protocols/oauth2/service-account#httprest)

After check the API response for Import, I can see that grant object is part of the response! 

ASVijayan_0-1724665282466.png

How will the importJSON look in this case? 

We are unable to use GCP connector as the application team doesn't have G-suite/ directory access.

 

Regards,

Athira Vijiayan

6 REPLIES 6

NM
Honored Contributor II
Honored Contributor II

Hi @ASVijayan , what do you plan to do with grants array?

rushikeshvartak
All-Star
All-Star
  • Are you able to establish connection from saviynt.
  • Please share draft import json

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

ASVijayan
New Contributor
New Contributor

Hi @NM : We need to create the importJSON and grants is the access for this application.

Hi @rushikeshvartak : I am attaching the connection JSON. It is not tested yet since we are not sure how to create the import JSON from the APIs mentioned in the documentation I have mentioned above. Since this is REST, it's difficult to find out if the connection JSON is working without the import json.

Also, there are so many "\n" in the private key. Should those be removed?

 

 

Refer sample

{
  "authentications": {
    "acctAuth": {
      "authType": "Jwt",
      "httpParamsName": "assertion",
"jwtConfig": {
        "jwtHeader": {
          "alg": "<specify algorithm>",
          "typ": "JWT",
          "kid": "<specify key ID>"
        },
        "jwtPayload": {
          "iss": "<specify ISS>",
          "sub": "<specify subject>",
          "aud": "<specify audience>",
          "scope": "https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.domain"
        },
        "signedAlgorithm": "<specify signed algorithm>",
        "key": "<specify key>",
        "jwtExpiryDuration": 120
      },
      "url": "<specify URL>",
      "httpMethod": "POST",
      "httpParams": {
        "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer"
      },
      "httpContentType": "application/x-www-form-urlencoded",
      "retryFailureStatusCode": [
        401,
        500,
        400
      ],
      "authError": [
        "SESSION_NOT_VALID",
        "AuthenticationFailed",
        "ExpiredJwtException",
        "401 Unauthorized",
        "401",
        "You couldn't be authenticated"
      ],
      "errorPath": "code",
      "maxRefreshTryCount": 5,
      "tokenResponsePath": "access_token",
      "tokenType": "Bearer",
      "accessToken": ""
    }
  }
}

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

ASVijayan
New Contributor
New Contributor

Hi @rushikeshvartak ,

Yes, we referred this and created the connection JSON, but mostly need help with importJSON.

Regards,

Athira

Does connection is successful ?


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.