Skip to content

Latest commit

 

History

History

auth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Authenticate with Moralis Web3

Signs in using Moralis Auth as the identity provider. Check our tutorial to learn how to use it.

How to Install?

Using the Firebase CLI:

Step 1: Before you start, you need to generate a certificate for the Service Account. This extension requires the service account for issuing authorization tokens. To generate the certificate go to: Firebase Console > Your Project > Project Settings > Service Accounts and click the Generate new private key button.

Step 2: Add the extension to your project: firebase ext:install moralis/moralis-auth --local --project=<PROJECT_ID_OR_ALIAS>

Step 3: During the installation process, you will be asked for some information. Some of them would be questions about the service account. The extension needs some data from your certificate. We've created the converter that extracts this information: open the converter, put your certificate in the text field and copy a variable value as an answer for a specific question in your console.

Step 4 (Optional): Test this extension locally: firebase emulators:start

Step 5: Deploy this extension: firebase deploy --only extensions --project=<PROJECT_ID_OR_ALIAS>