Authenticate to parse server with your Firebase account
npm i -S parse-server-firebase-auth-adapter- Copy the firebaseAccountKey.jsonfrom Firebase into your folder, maybe root of your project's folder.
- Add new environment into your .envor using export in your terminal.
// firebaseAccountKey.json store in root of project.
FIREBASE_SERVICE_ACCOUNT_KEY = '../../firebaseAccountKey.json'
// URL for connect to Firebase database.
FIREBASE_DATABASE_URL = "https://SOME_ID.firebaseio.com"import { ParseServer } from 'parse-server'
import firebaseAuthAdapter from 'parse-server-firebase-auth-adapter'
...
const parserServer = new ParseServer({
  ...
  auth: {
    firebase: firebaseAuthAdapter
  }
})- Get Parse access token by POST a raw data to /parse/users
curl -X POST \
  {{host}}/parse/users \
  -H 'content-type: application/json' \
  -H 'x-parse-application-id: {{ParseAppId}}' \
  -d '{
    "authData": {
    	"firebase": {
    		"access_token": "{{access_token}}",
    		"id": "{{FirebaseUID}}"
    	}
    }
}'