简体   繁体   中英

Use firebase admin with REST

I'm using Deno instead of node as a runtime, which makes me unable to use firebase-admin . I would like to implement the listUsers from the admin sdk in REST, but have not found any REST api references. Is there a way to use the firebase-admin sdk with REST?

You are looking for the Identity Toolkit APIs, the accounts:batchGet to be specific. You'll need an access token to use those APIs since you cannot use default credentials with the REST API. Checkout the documentation for the same.

You can use the API explorer linked above to test APIs from the browser itself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM