bchparse

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
    
  • Edit the script at /opt/bitnami/apps/parse/htdocs

    $ cd /opt/bitnami/apps/parse/htdocs
    $ 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
    
Last modification September 4, 2018