客户端sdk: https://firebase.google.com/docs/auth/?hl=zh-cn
golang sdk: GitHub - firebase/firebase-admin-go: Firebase Admin Go SDK
服务端初始化文档: https://firebase.google.com/docs/admin/setup?hl=zh-cn
服务端解析IdToken文档:https://firebase.google.com/docs/auth/admin/verify-id-tokens?hl=zh-cn
后端开发阶段,可以用自定义token调试:https://firebase.google.com/docs/auth/admin/create-custom-tokens?hl=zh-cn
授权流程:客户端第三方授权登录,换取idtoken -> 服务端获取idtoken,通过上述文档解析IdToken,拿到用户的授权信息
自定义token换取idToken:https://firebase.google.com/docs/reference/rest/auth?hl=zh-cn