标签: firebase firebase-cloud-messaging
我想向移动应用发送通知。为此,我需要 JWT 令牌。 在 Google 的所有文档中,我都应该使用 Admin SDK 来获取令牌,但我做不到。 如何在没有 Google 库的情况下获取访问和刷新令牌?
我需要 URL、HTTP 方法和请求负载。
答案 0 :(得分:1)
经过3天的搜索,我在文档中找到了解决方案:
https://developers.google.com/identity/protocols/oauth2/service-account#jwt-auth