Ruft öffentliche Schlüssel des Signaturgebers des Legacy Identity Toolkit-Tokens ab, damit Dritte das Legacy-ID-Token verifizieren können. Derzeit wird nur das X509 PEM-Zertifikat unterstützt.
HTTP-Anfrage
GET https://identitytoolkit.googleapis.com/v1/publicKeys
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (UTC)."],[[["\u003cp\u003eThis API endpoint retrieves public keys used for verifying legacy Identity Toolkit tokens, currently supporting the X509 PEM certificate format.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to access these keys is a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://identitytoolkit.googleapis.com/v1/publicKeys\u003c/code\u003e, with a URL that uses gRPC Transcoding.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is required, as the request must be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a body containing a Struct.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/identitytoolkit\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: getPublicKeys\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves public keys of the legacy Identity Toolkit token signer to enable third parties to verify the legacy ID token. For now the X509 pem cert is the only format supported.\n\n### HTTP request\n\n`GET https://identitytoolkit.googleapis.com/v1/publicKeys`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/identitytoolkit`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]