Skip to content

UrbanSystemsLab/climateiq-login

Repository files navigation

ClimateIQ Authentication Service

This is the ClimateIQ Authentication Service app.

Local Dev Server

npm run dev -- --host

Deploy to Firebase Hosting

Generally, you need Editor or Owner permissions to ClimateIQ GCP to deploy to Firebase Hosting. See here for a list of users with permissions. GCP Owners can also set up more granular roles.

Install firebase-cli, then:

firebase login
npm run build
firebase deploy --project climateiq

If you run into any errors, try logging into Firebase again:

firebase login --reauth

Update Password Configuration

The password configuration controls the limits on user password values (e.g., minimum length).

To update the rules, edit password-config.json, which is a JSON file describing an object with these properties.

Then, run:

firebase login
npm run updatePasswordConfig

NOTE: Running this command will force any users whose passwords do not meet the new requirements to update their password on next sign in.

If you have deploy permissions, then you will have update password configuration permissions. For more detail on permissions, see the section on deploying.

If you run into any errors, try logging into Firebase again:

firebase login --reauth

For posterity, please also check in any changes to password-config.json.

Issues with npm install

You might run into issues when running npm install because of the @carbon/vue dependency (see this issue).

As a workaround, install like this instead:

npm pack @carbon/vue
npm install <path to downloaded package>

About

Sign up and Login flow implementation for ClimateIQ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •