Google

Google Identity Toolkit API

Help the third party sites to implement federated login.

Identity & security#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Help the third party sites to implement federated login.

Endpoints 20

relyingparty

  • POSTCreates the URI used by the IdP to authenticate the user./createAuthUriCreates the URI used by the IdP to authenticate the user.
  • POSTDelete user account./deleteAccountDelete user account.
  • POSTBatch download user accounts./downloadAccountBatch download user accounts.
  • POSTReset password for a user./emailLinkSigninReset password for a user.
  • POSTReturns the account info./getAccountInfoReturns the account info.
  • POSTGet a code for user action confirmation./getOobConfirmationCodeGet a code for user action confirmation.
  • GETGet project configuration./getProjectConfig?delegatedProjectNumber=string&projectNumber=stringGet project configuration.
  • GETGet token signing public key./publicKeysGet token signing public key.
  • GETGet recaptcha secure param./getRecaptchaParamGet recaptcha secure param.
  • POSTReset password for a user./resetPasswordReset password for a user.
  • POSTSend SMS verification code./sendVerificationCodeSend SMS verification code.
  • POSTSet account info for a user./setAccountInfoSet account info for a user.
  • POSTSet project configuration./setProjectConfigSet project configuration.
  • POSTSign out user./signOutUserSign out user.
  • POSTSignup new user./signupNewUserSignup new user.
  • POSTBatch upload existing user accounts./uploadAccountBatch upload existing user accounts.
  • POSTVerifies the assertion returned by the IdP./verifyAssertionVerifies the assertion returned by the IdP.
  • POSTVerifies the developer asserted ID token./verifyCustomTokenVerifies the developer asserted ID token.
  • POSTVerifies the user entered password./verifyPasswordVerifies the user entered password.
  • POSTVerifies ownership of a phone number and creates/updates the user account accordingly./verifyPhoneNumberVerifies ownership of a phone number and creates/updates the user account accordingly.

API details

Base URL
https://www.googleapis.com/identitytoolkit/v3/relyingparty
Authentication
OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter
Operations
20 operations on 20 pathsPOST 17GET 3
Main resources
relyingparty 20
Response formats
application/json
Description format
Google API Discovery, API version v3

How to test the Google Identity Toolkit API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Google Identity Toolkit API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Creates the URI used by the IdP to authenticate the user.” (POST /createAuthUri), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Google Identity Toolkit API?

Help the third party sites to implement federated login. It is listed under Identity & security and has 20 endpoints.

Who publishes the Google Identity Toolkit API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Google Identity Toolkit API?

Requests go to https://www.googleapis.com/identitytoolkit/v3/relyingparty. Endpoint paths are added to this base URL.

How do I authenticate with the Google Identity Toolkit API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.

How many endpoints does the Google Identity Toolkit API have?

20 operations on 20 paths (17 POST, 3 GET). The largest groups are relyingparty.

Is forking the Google Identity Toolkit API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.