This file contains 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
import cors from 'cors'; | |
import Promise from 'bluebird'; | |
import axios from 'axios'; | |
import database from '../database/database.js'; | |
/** | |
* The goal of this function is to mint custom token that can be used to | |
* authenticate to Firebase. | |
* The function will be called through https, and will check the credentials of | |
* the requested user (through the usage of its Auth0 token). If the Auth0 token |
OlderNewer