googleapis / googleapis/google-api-nodejs-client

`safetyNetToken` missing in identitytoolkit_v3

Open
#3,131 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: question
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

In the [REST API documentation](https://cloud.google.com/identity-platform/docs/reference/rest/v1/accounts/sendVerificationCode) of Identity Platform, it's mentioned that we can pass a safetyNetToken argument to `sendVerificationToken` for android devices.

This argument is not missing from the [`Schema$IdentitytoolkitRelyingpartySendVerificationCodeRequest`](https://github.com/googleapis/google-api-nodejs-client/blob/main/discovery/identitytoolkit-v3.json#L871-L893) interface, when other platform-specific arguments are specified.

Is it intentional? Is there something I'm missing? Is v3 a new version of the Identity Platform API that doesn't support this argument anymore?

Also `verifyIOSClient` is missing, but it's needed to be able to provide the iosReceipt and iosSecret requested in this method right?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.