Firebase app check - Play Integrity provider with custom nonce #7069
Unanswered
helloagain-dev
asked this question in
Q&A
Replies: 1 comment
-
In case anyone is still interested in the answer, the Replay Protection feature (currently in beta) is App Check's solution to this problem. When you want to protect your custom backend using limited-use tokens, instead of managing all the details of the Play Integrity token response, App Check can abstract that away for you. Instead of directly managing and verifying the nonce inside the Play Integrity token result (originating from calling the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone have any thoughts or experience on how to set a nonce for an app check (Play Integrity provider) intended for a custom backend?
https://android-developers.googleblog.com/2022/05/boost-security-of-your-app-with-nonce.html
https://developer.android.com/google/play/integrity/verdict#java
This is about minimizing the possibility for replay attacks. As we understand it
generatePlayIntegrityChallengeResponse.getChallenge()
is used by default. (see PlayIntegrityAppCheckProvider.java#L116)would it be feasible to use a custom nonce from our backend? or get the nonce the
generatePlayIntegrityChallengeResponse
produces?Beta Was this translation helpful? Give feedback.
All reactions