[[["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 page details how to create an Oidc Idp configuration for an Identity Toolkit project using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent to \u003ccode\u003ehttps://identitytoolkit.googleapis.com/admin/v2/{parent=projects/*}/oauthIdpConfigs\u003c/code\u003e using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to specify the project, and authorization with \u003ccode\u003efirebaseauth.configs.update\u003c/code\u003e permission is needed.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eoauthIdpConfigId\u003c/code\u003e query parameter allows you to set a custom ID for the new configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize instances of \u003ccode\u003eOAuthIdpConfig\u003c/code\u003e, and the request requires one of three specified OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.oauthIdpConfigs.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreate an Oidc Idp configuration for an Identity Toolkit project.\n\n### HTTP request\n\n`POST https://identitytoolkit.googleapis.com/admin/v2/{parent=projects/*}/oauthIdpConfigs`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [OAuthIdpConfig](/identity-platform/docs/reference/rest/v2/projects.oauthIdpConfigs#OAuthIdpConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [OAuthIdpConfig](/identity-platform/docs/reference/rest/v2/projects.oauthIdpConfigs#OAuthIdpConfig).\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/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]