Created
July 22, 2018 22:54
-
-
Save hiranya911/ac3807273ee7b727430a4da9c5a54afd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const admin = require('firebase-admin'); | |
admin.initializeApp(); | |
admin.auth().createCustomToken('testuid').then((token) => { | |
console.log('Custom token created:', token); | |
}).catch((err) => { | |
console.log('Error:', err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment