{"repo":"alekcz/charmander","free":true,"listed":false,"github":"https://github.com/alekcz/charmander","clone":"git clone https://github.com/alekcz/charmander.git","description":"A set of libraries to make working with firebase easier in clojure","language":"Clojure","stars":43,"topics":["firebase","clojure","firebase-auth","authentication","jwt"],"license":"EPL-1.0","category":"auth-billing-email","readme_excerpt":"Charmander A clojure library to make working with firebase easier Why? - Authentication, email verification and password resets are tedious and hard. - Auth0 gets pricey as you scale - Firebase auth has a fixed cost of 0 (for now) Usage API - Token API validate-token - Admin API init create-user delete-user get-user get-user-by-email get-user-by-phone-number set-user-email set-user-password set-user-phone-number set-user-display-name set-user-photo-url generate-email-verification-link generate-password-reset-link - Firestore API create-document add-document-to-collection get-document get-document-and-subcollections get-collection set-document update-document delete-document Validating tokens Validates firebase tokens. Validating tokens doesn't require an admin or service account. Admin Manages user data and authentication using your firebase admin or service account credentials using the email/password sign-in provider. At the moment only one firebase app can be used at a time. The Admin API is based on the Java Firebase Admin SDK v6.8.0 Initializing your admin account 1. Get the json file containing your creditials by following the instruction here https://firebase.google.com/docs/admin/setup 2. Enable the email/password sign-in provider. 3. Set the GOOGLE CLOUD PROJECT environment to the id of your project 4. Set the GOOGLE APPLICATION CREDENTIALS environment variable to the contents of your json key file. (Sometimes it may be necessary to wrap the key contents in single qu","default_branch":null,"files":null,"tree":[],"storefront":"/r/alekcz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alekcz/charmander/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}