Thanks for these amazing snippets but I feel like there should be a warning about including this in any production environment since the combination of mintAdminToken and recursiveDelete would enable to anyone blasting an entire production database.
I suggest you create an example that isn't copy-pasteable.
|
exports.mintAdminToken = functions.https.onCall(async (data, context) => { |