Questions tagged [google-play-integrity-api]

78 questions
0
votes
1 answer

Google Play Integrity API: PKIX path building failed: ....SunCertPathBuilderException: unable to find valid certification path to requested target

I encounter this exception while trying to decode the Play Integrity token on the server side: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Here is…
0
votes
1 answer

How to verify Play Integrity API token using the Google Client API for .NET

I'm trying to verify whether my token generated in Play Integrity is valid. For now I could decrypt my token. However, I didn't find API if it exists to verify that token. Could you please point me if it possible. Thank you in advance. var…
0
votes
1 answer

does timestampMillis resulting from Play Integrity API check is timezone aware?

I'm implementing the "Play Integrity" API check. In the integrity response there is timestampMillis that indicates when the request occurs. Is it timezone aware?
user2342558
  • 5,567
  • 5
  • 33
  • 54
0
votes
0 answers

How to decode integrity token on google server using php server

i try to decode integrity token refer from below link https://developer.android.com/google/play/integrity/verdict#decrypt-verify-google-servers it leads me to google-client-api and with help of that i build following code and run it $path =…
0
votes
0 answers

VerificationID is returning weird response when SMS code sent with PlayIntegrity API 2023 using phone authentication?

I'm implementing phone authentication in flutter with firebase. Currently SafetyNet is being deprecated and only PlayIntegrity API is working. The recaptcha prompt is still showing, even with SHA-256 and SHA-1 code added and PlayIntegrity enabled in…
0
votes
1 answer

How to make play integrity work with debug key?

We have set up Firebase App Check using Play Integrity in our android app. It works perfectly in release builds but I keep getting permission denied in debug builds. Here is why: The company has a private signing key. The owner uses this key to…
0
votes
0 answers

How to cast JsonWebStructure object to JsonWebEncryption object in java?

import org.jose4j.jwe.JsonWebEncryption; import org.jose4j.jws.JsonWebSignature; import org.jose4j.jwx.JsonWebStructure; JsonWebEncryption jwe = null; try { jwe = (JsonWebEncryption)…
0
votes
1 answer

volley and play integrity Decrypt and verify on Google's servers (recommended)

I am not getting any response or error. I just want to decrypt and verify via google servers. I'm a bit of a beginner at this. Links: play integrity , volley not working stackoverflow question IntegrityManager integrityManager =…
0
votes
1 answer

Suggestions to debug Google Play Integrity DecodeIntegrityToken API

Trying to figure out how to use Google's play-integrity api to verify nonces. I've hit this roadblock and am unsure what other things I could try to debug and get more information out of this API. Below is a series of steps I've taken to get to the…
0
votes
1 answer

Play Integrity API Decryption Key: Bad base-64, with Base64.DEFAULT

I have checked about this answer: java.lang.IllegalArgumentException: bad base-64 However, the String format is definitely different in my project. val key = "XX0XXxXXXXXxX/XXXXXX0XXX00X/0XX0xXXXX0Xxx0=" val bytes = Base64.decode(key,…
hanabi_noir
  • 197
  • 1
  • 1
  • 15
0
votes
0 answers

Play Integrity test cases failed

Below are the test cases that we created on Play Console for Play Integrity: We have created combinations of different verdicts that can be received by Play Integrity API. All below test cases work when we remove all google accounts from a device…
0
votes
0 answers

How to migrate to Play integrity API from Safetynet from beginning in java?

I am trying to migrate from safetynet to play integrity. I am stuck on starting point if anyone can help? should i change in my existing code or i have make fresh API ?
0
votes
0 answers

Where did I go wrong for Appcheck?

I am using firebase real time database in my application. In the update 1,5 month ago, I activated appcheck in my application. Even though most users have upgraded to the new update, the appcheck data still seems to be minimal. Where did I go wrong?…
0
votes
1 answer

Decrypt and verify locally Play Integrity API Token using NodeJS

Google gives an option to locally extract the play Integrity API Token. Even example with Java is provided here. But many servers are Node.js based. So, how can I decrypt the Play Integrity API token locally with Node.js?
Nafis Abdullah Khan
  • 2,062
  • 3
  • 22
  • 39
0
votes
2 answers

Play Integrity API token produces IntegrityErrorCode.html#TOO_MANY_REQUESTS

I'm trying to migrate from SafetyNet to Play Integrity API following googles documentation https://developer.android.com/google/play/integrity/verdict#request. I'm building my request the same way they do in docs: Task
JSob
  • 3
  • 3