vmware-marketplaceparse

Enable HTTP authentication for the Parse Dashboard

To enable basic HTTP authentication for the Parse Dashboard, please follow the steps below:

  • Stop the Parse server:

        $ sudo /opt/bitnami/ctlscript.sh stop parse
        $ sudo /opt/bitnami/ctlscript.sh stop parse-dashboard
    
  • Edit the script at */opt/bitnami/parse-dashboard

      $ cd /opt/bitnami/parse-dashboard
      $ vim server.js
    
  • Edit the dashboard variable and add a new object following the example below:

      var dashboard = new ParseDashboard({
          apps: [
              {
              ...
              }
          ],
          users: [
              {
                  user: 'USERNAME',
                  pass: 'PASSWORD'
              }
          ]
    

    Remember to replace the USERNAME and PASSWORD placeholders with the desired access credentials, and ensure that there are no syntax errors, such as missing commas.

  • Restart the Parse server:

        $ sudo /opt/bitnami/ctlscript.sh restart parse
        $ sudo /opt/bitnami/ctlscript.sh restart parse-dashboard
    
Last modification December 21, 2022