lilab-bcb/cirrocumulus

new users for serve mode

Opened this issue · 6 comments

Hi,

Thanks so much for developing this great single-cell visualization platform!

I'm running in the server mode. Is there a way to add new users without using OAuth?

Thanks!

How would you like to manage authentication? You can also run in server mode without any authentication.

How would you like to manage authentication? You can also run in server mode without any authentication.

We are a small group in a bigger organization. We’d like to have some level of control over who can access the datasets. I guess Microsoft Single Sign On would be too much for the development. How about just a static username and password stored in the mongodb? Security wouldn’t be an issue since we can only access the server in the intranet. Thanks!

How about putting nginx or Apache in front of cirrocumulus and using basic authentication?

How about putting nginx or Apache in front of cirrocumulus and using basic authentication?

This sounds better. Do the users need to make it to Static Websites? Does the home / datasets catalog page still work if we use this? Sorry if the question is too basic, I haven’t try the static deployment yet. Thanks

Thanks @joshua-gould . I was able to setup cirrocumulus as a Static Website behind nginx. For those who are new to deploying web apps as me, here are a few useful links:

  1. follow the cirrocumulus guide to build it as a Static Website: https://cirrocumulus.readthedocs.io/en/latest/installation.html
  2. hosting static websites using nginx: https://jgefroh.medium.com/a-guide-to-using-nginx-for-static-websites-d96a9d034940
  3. Restricting Access with HTTP Basic Authentication: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/