Identity Toolkit API v3 (getAccountInfo, Protobuf) (google/identitytoolkit-relyingparty-getaccountinfo-protobuf
)
operated by: Google LLC
(get company information on datarequests.org)Endpoint URLs
These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.https://www.googleapis.com/identitytoolkit/v3/relyingparty/getAccountInfo
Decoding steps
Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.- Decode the request body as a protocol buffer (Protobuf). Store that in the result for the request body.
- Decode the result for the request body at
1
as a JSON Web Token (JWT). Store that in the result for the request body atidToken
. - Get the property at JSONPath
$
in the request headers. Store that in the result for the request headers.
1res.body = decodeProtobuf(body)
2res.body.idToken = decodeJwt(res.body.1)
3res.header = header.$