Hello,
I have tried to use Run & Build using yarn to deploy a standalone neodash that is created in my local DB on AWS s3 bucket. The issue is when I changed the santdalone variable in config.json file to be "true" and changed database and dashboard name accordingly, the website that I created does not let me to enter the password or any other credintial to login to dashboard. It seems seeting "standalone" variable to true will block me to enter any credintial when loading the index.html as the first page of dashboard. The issue is resolved if I add the "standaloneUsername " and "standalonePassword" variables to the config, but I don't want to include them in the dash.
Thanks for the help in advance,
Interesting, lemme take a look
However, keep in mind that the Standalone Mode was conceived as a read-only portrait mode. Allowing users to expose dashboard to users while hiding authentication.
Exactly, I intend for the dashboard content to remain unmodifiable. However, the issue arises when users, due to disabled credentials, can't access the dashboard via the link I've created on platforms like AWS S3 bucket.
To address this, I've managed to enable the password entry. In the ConnectionModal.tsx file, I've set the disabled={standalone} to disabled={false} for both the username and password fields. This change now allows users to input these details. The principal concern with this approach, however, is that I'm sharing my actual database credentials with the users, which allows them direct access to the database.
So, my new question is whether there's a mechanism to assign dashboard-specific credentials that are entirely distinct from the actual database credentials?
Hi @kamkar.h96,
Usually we suggest users to create a read only user on the database that has solely the privileges needed for the dashboard use case. As we consider dashboard 'public', we have followed this pattern.
Let me think if we can easily open this idea a bit more. BTW, Do you have SSO on your architecture?
No, I don't. Can you give me some idea of how I can add that? I would really appreciate it.