Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new users for serve mode #77

Open
zhangguy opened this issue Oct 15, 2021 · 6 comments
Open

new users for serve mode #77

zhangguy opened this issue Oct 15, 2021 · 6 comments

Comments

@zhangguy
Copy link

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!

@joshua-gould
Copy link
Contributor

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

@zhangguy
Copy link
Author

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!

@joshua-gould
Copy link
Contributor

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

@zhangguy
Copy link
Author

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

@joshua-gould
Copy link
Contributor

joshua-gould commented Oct 17, 2021 via email

@zhangguy
Copy link
Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants