2

I have used the java solution provided here for decrypting integrity token https://stackoverflow.com/a/72461439/21509538, i am decrypting the token on google server and while "*DecodeIntegrityTokenResponse response = play.v1().decodeIntegrityToken("com.test.android.integritysample", requestObj).execute();* " this call i am getting below error

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden POST https://playintegrity.googleapis.com/v1/com.companyname.android.qa:decodeIntegrityToken

{
  "code": 403,
  "errors": [
    {
      "domain": "global",
      "message": "You are not authorized to decode the requested integrity token.",
      "reason": "forbidden"
    }
  ],
  "message": "You are not authorized to decode the requested integrity token.",
  "status": "PERMISSION_DENIED"
}

what permission do i have to provide, do have make some changes in play console ?

I am trying to read the integrity token, with the help of below code

https://stackoverflow.com/a/72461439/21509538

Paleo99
  • 21
  • 2

0 Answers0