【问题标题】:get idToken with firebase auth emulator with postman使用邮递员使用firebase auth emulator获取idToken
【发布时间】:2021-09-14 10:47:06
【问题描述】:

我可以通过这个地址的邮递员访问 idToken

https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key={{apiKey}}

{
  "email": "email@test.com",
  "password": "12345678",
  "returnSecureToken": true
}

我想访问 idToken firebase 身份验证模拟器。我在模拟器上找不到正确的端点。

如何在auth模拟器上获取idToken?

【问题讨论】:

    标签: firebase-authentication firebase-tools


    【解决方案1】:

    身份验证模拟器的 REST 端点位于 localhost:$PORT/$API/$ENDPOINT,例如 localhost:1234/identitytoolkit.googleapis.com/v1/accounts:signUp

    如果您在访问此位置的端点时遇到问题,请编辑您的问题以显示您的尝试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-06-27
      • 2020-04-01
      • 2016-12-04
      • 2018-01-01
      • 2020-07-09
      • 2015-01-15
      • 2016-11-23
      • 2020-10-28
      相关资源
      最近更新 更多