Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a warning about including mintAdminToken #289

Open
reimertz opened this issue Sep 11, 2022 · 0 comments
Open

Add a warning about including mintAdminToken #289

reimertz opened this issue Sep 11, 2022 · 0 comments

Comments

@reimertz
Copy link

reimertz commented Sep 11, 2022

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) => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant