Skip to content

Instantly share code, notes, and snippets.

@maisnamraju
Created September 24, 2019 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maisnamraju/f1a4570fd300b3e9ccd1c2e3081971fe to your computer and use it in GitHub Desktop.
Save maisnamraju/f1a4570fd300b3e9ccd1c2e3081971fe to your computer and use it in GitHub Desktop.
curl 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=[API_KEY]' \
-H 'Content-Type: application/json' \
--data-binary '{"postBody":"id_token=[GOOGLE_ID_TOKEN]&providerId=[google.com]","requestUri":"[http://localhost]","returnIdpCredential":true,"returnSecureToken":true}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment