How to accomplish firebase.auth().checkActionCode using Firebase Auth Rest SDK?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-16 08:53:30

问题


I have a Cloud Function that uses the Firebase Auth Javascript SDK to call firebase.auth().checkActionCode(). I use the Javascript SDK, because I could not find a corresponding function in either the Admin SDK or via a REST API call. The REST API has a similar method to check a password reset code, but I don't see a method to check an email verification code (only to apply one): https://firebase.google.com/docs/reference/rest/auth#section-verify-password-reset-code

Is there a way to do the same thing as checkActionCode() using the REST API, that is, to check without applying, and for all kinds of codes?

The reason this question was pertinent is that Google discourages using the Javascript SDK on Node server.

来源:https://stackoverflow.com/questions/56728539/how-to-accomplish-firebase-auth-checkactioncode-using-firebase-auth-rest-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!