Mengambil kumpulan kunci publik penanda tangan Token Web JSON (JWT) cookie sesi yang dapat digunakan untuk memvalidasi cookie sesi yang dibuat melalui createSessionCookie.
Permintaan HTTP
GET https://identitytoolkit.googleapis.com/v1/sessionCookiePublicKeys
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-03-04 UTC."],[[["\u003cp\u003eThis API retrieves the public keys used to validate session cookies created via the \u003ccode\u003ecreateSessionCookie\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to get these keys is a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://identitytoolkit.googleapis.com/v1/sessionCookiePublicKeys\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and the URL uses gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains an array of \u003ccode\u003eOpenIdConnectKey\u003c/code\u003e objects, each representing a public key in JSON Web Key (JWK) format.\u003c/p\u003e\n"],["\u003cp\u003eThe OpenIdConnectKey represents a public key in the form of a JWK and contains fields such as \u003ccode\u003ekty\u003c/code\u003e, \u003ccode\u003ealg\u003c/code\u003e, \u003ccode\u003euse\u003c/code\u003e, \u003ccode\u003ekid\u003c/code\u003e, \u003ccode\u003en\u003c/code\u003e, and \u003ccode\u003ee\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: getSessionCookiePublicKeys\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GetSessionCookiePublicKeysResponse.SCHEMA_REPRESENTATION)\n- [OpenIdConnectKey](#OpenIdConnectKey)\n - [JSON representation](#OpenIdConnectKey.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nRetrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through [createSessionCookie](/identity-platform/docs/reference/rest/v1/projects/createSessionCookie).\n\n### HTTP request\n\n`GET https://identitytoolkit.googleapis.com/v1/sessionCookiePublicKeys`\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\nResponse message for v1.getSessionCookiePublicKeys.\n\nIf successful, the response body contains data with the following structure:\n\nOpenIdConnectKey\n----------------\n\nRepresents a public key of the session cookie signer, formatted as a [JSON Web Key (JWK)](https://tools.ietf.org/html/rfc7517)."]]