Skip to content

Login Configuration

Use the environment variable PLT_USER_MANAGER_SUPER_ADMIN_EMAIL to list (separated by a comma) all the emails that will be super admin.

Every time ICC restarts, it checks for those emails and adds them to the users database.

All supported providers can be set as comma separated values in the VITE_SUPPORTED_LOGINS environment variables:

  • google: uses Google OAuth. Please follow this guide
    • set PLT_GOOGLE_OAUTH_CLIENT_ID and PLT_GOOGLE_OAUTH_CLIENT_SECRET with the values of your newly created app.
  • github: uses Github OAuth Apps. Please follow this guide
    • set PLT_GITHUB_OAUTH_CLIENT_ID and PLT_GITHUB_OAUTH_CLIENT_SECRET with the values of your newly created app.
  • password: use a password to login with a sample user. This should be used only for testing purposes.
    • requires setting PLT_MAIN_SITE_PASSWORD as well