Mike Appleby
14aea5fdeb
Change the uid property to localId in delete-unused-accounts-cron
The user id property is called localId, not uid. The uid property is
undefined.
8 years ago
Mike Appleby
aa5a0ab092
Fix filter predicate for inactiveUsers in delete-unused-accounts-cron
The filter predicate was selecting users who had logged in during the
past month, whereas we want the opposite.
8 years ago
Mike Appleby
62bbfa3681
Remove unused dependencies from delete-unused-accounts-cron
8 years ago
Mike Appleby
08e961143a
Fix auth token request options in delete-unused-accounts-cron
1) Fix a typo in the option name: header -> headers
This was causing the request for the service-account access token to
fail with error:
StatusCodeError: 403 - "Missing required header: Metadata-Flavor\n"
2) Specify json: true in the request options
Without this option, the response was returned as a string and not
parsed as json. Consequently, resp.access_token was undefined.
8 years ago
Ulydev
0034bc2e3c
Update package.json
8 years ago
Sean Nicholas Dieterle
0bfc7d50e9
Prevent timing attacks on keys / signatures
fixes #100
8 years ago
Nicolas Garnier
98e3c4f961
Update README.md
8 years ago
Nicolas Garnier
12234df74b
Update README.md
8 years ago
Nicolas Garnier
d8d29cb484
Update instructions for delete-unused-accounts-cron
8 years ago
Benedicte Raae
087cc9bdcc
Zapier can also be used for daily schedules
I already have a Zapier account for other uses and therefore also use it as a simple cron service. Could be useful info for others as well.
8 years ago
Nicolas Garnier
dc2519ea4a
Updating version of the firebase-functions module in package.json files to launch version
Change-Id: I3f6a6029b97b870f1b99abccea80bfa5d2733cf2
8 years ago
Nicolas Garnier
b9f30cfd45
Added comment on delete-unused-accounts-cron
Change-Id: Ic32754bb98c4acb90eaaceb6235d9813aab558e4
8 years ago
Nicolas Garnier
34d15ce0a3
Updating remaning samples to 0.5.0
Change-Id: I88fc399339d16fe6d48a6e80dd7f47f576090f5c
8 years ago
Nicolas Garnier
e58f30cb7e
Updating delete-unused-accounts-cron sample to 0.5.0
Change-Id: I9294d3cac9ea38e417f915ed2bace9fa0bdd6f7d
8 years ago
Nicolas Garnier
7534df61ff
Simplified delete-unused-accounts-cron and moderate-images
Change-Id: I3c3a8ac72633b69f961a77fc4ec76288b556a3e9
8 years ago
Nicolas Garnier
7e21531d02
Updating "Firebase" Functions and Storage naming following the rebranding to "Cloud".
Change-Id: I9c5a941d41da90ab0b5dcaaecac229d9cd9c1002
8 years ago
Nicolas Garnier
38340a871b
Some fixes and simplification for the exif and delete unused accounts samples.
Change-Id: I8427cde634f7ebb1dd675b99ca4d2a1b643e8c3c
8 years ago
Nicolas Garnier
bfaf1a71d3
Add new "delete-unused-accounts-cron" sample.
Change-Id: I882ac7a6292ca6348ffd8d155f2946303b6f5f92
8 years ago