This project is to test SAML configuration to be used with Firebase/GCIP.
- This project consists of a
Node
server and aReact
client. - The
server
uses the Firebase Admin SDK to create a SAML provider config on your GCP instance. - Once the SAML provider config is generated, the
client
uses it to try to do a login. - If login is successful, the configuration is correct.
- If login fails, the configuration needs to be updated.
- Clone or fork the project.
- Run
npm install
on the root directory. This will install the packages needed by the server. - Run
cd client && npm install
to install the packages required for the client. - Update the
.env
file in the root directory with the path to yourGOOGLE_APPLICATION_CREDENTIALS
. More info on how to get this file is here. - Upate the
client/.env
file with your Firebase API Key and Auth Domain. - Run
npm run start-server
to start the server. - Run
npm run start-client
to start the client. - Navigate to http://localhost:3000/.