Compatible Flutter app source code: activout/bankid-demo-flutter-firebase
This project is a Firebase Functions project, which allows you to run backend code in response to events triggered by Firebase features and HTTPS requests.
It depends on the anyfin/bankid npm package.
Before you can deploy your Firebase Functions, you need to have the following:
- A Firebase project setup on the Blaze (paid) plan. Firebase Functions requires the Blaze plan, which is a pay-as-you-go plan. You can learn more about Firebase pricing here.
- Node.js and npm installed on your local development machine. You can download Node.js here and npm is included in the Node.js installation.
- Firebase CLI installed. You can install it by running
npm install -g firebase-tools
in your terminal.
- Clone this repository to your local machine.
- Navigate to the functions subdirectory in your terminal.
- Run
npm install
to install the project dependencies. - Log in to Firebase using the Firebase CLI by running
firebase login
. - Connect your local project to your Firebase project using
firebase use --add
and select your Firebase project.
To deploy your Firebase Functions, run firebase deploy --only functions
in your terminal. This will deploy all your Firebase Functions to the Firebase servers.
- Make /collect create a Firebase Auth custom token login session and return a JWT
- Add protected API that uses Firebase Auth
Contact [email protected] to order a support package.
This project is licensed under the MIT License.