项目作者: maruffahmed

项目描述 :
高级语言: JavaScript
项目地址: git://github.com/maruffahmed/firebase-admin-id-token-verify.git


Service account key

For service account key go to Settings -> Service Account and Generate New Private Key. You’ll get a json file.

Replace you service account key with key/serviceAccountKey.json

Use your Project ID

For project ID go to Settings -> General

Replace <Project ID> with your project ID

  1. admin.initializeApp({
  2. credential : admin.credential.cert(serviceAccount),
  3. databaseURL: 'https://<Project ID>.firebaseio.com'
  4. });