Code Monkey home page Code Monkey logo

Comments (8)

paulfitz avatar paulfitz commented on July 22, 2024 2

We use Amazon Cognito. Hmm looking at the diagram on https://developers.cloudflare.com/cloudflare-one/applications/configure-apps/saas-apps it looks like SAML would do the job. I'll look at expediting getting that documented and released.

from grist-core.

paulfitz avatar paulfitz commented on July 22, 2024 1

To listen on all devices, you can do:

GRIST_HOST=0.0.0.0 yarn start

That isn't quite enough though. Currently you need to tell Grist what IP address or hostname it will be accessed from. For example, on my local network, my laptop is at IP address 192.168.1.155, and to make Grist accessible to my phone etc I can do:

DEBUG=1 \
GRIST_SINGLE_ORG=docs \
APP_DOC_URL=http://192.168.1.155:8484  \
APP_HOME_URL=http://192.168.1.155:8484  \
GRIST_HOST=0.0.0.0 yarn start
  • The DEBUG is optional, it just tells Grist to print more information (helpful if things aren't working right).
  • GRIST_SINGLE_ORG=docs tells Grist to drop support for multiple "team sites" which could introduce some subdomain complications.
  • APP_DOC_URL and APP_HOME_URL tell Grist the urls the user will see for accessing documents and the main site. This could be simplified for self-hosting. These options are here since we host Grist behind a load balancer with domains and protocol information getting remapped.
  • GRIST_HOST is the ip address for the server to listen to.

We plan to simplify configuration for self-hosting, all the wrinkles created by multiple servers and multiple team sites aren't really relevant there. Would be interested to here how it goes for you @tmikaeld

from grist-core.

paulfitz avatar paulfitz commented on July 22, 2024 1

Glad that worked @tmikaeld. Yes, documenting how to support multiple users is on our roadmap https://github.com/gristlabs/grist-core/projects/1#card-64937259. In our hosted service, we use a separate auth provider. We have SAML support we could polish up and release, would that be helpful? Placing Grist behind vouch-proxy https://github.com/vouch/vouch-proxy could also work well. Is there a particular login provider that your team works with?

from grist-core.

asitemade4u avatar asitemade4u commented on July 22, 2024 1

Works fine with docker-compose from Portainer

from grist-core.

tmikaeld avatar tmikaeld commented on July 22, 2024

Hello Paul!

Thanks for the quick reply, it's very appreciated.

I got it working just fine! However, I noticed that it's single-user at the moment, we'd need at least multiple users for it to be usable in our team. Any plans on adding that?

from grist-core.

tmikaeld avatar tmikaeld commented on July 22, 2024

We use Cloudflare Access @paulfitz, what auth provider do you use?

from grist-core.

tmikaeld avatar tmikaeld commented on July 22, 2024

I noticed that I can add users, but they cannot login, so I guess this is the auth layer missing.

from grist-core.

paulfitz avatar paulfitz commented on July 22, 2024

SAML support was released in 0.7.3. I tested it against Auth0 and it worked fine.

* This version of SamlConfig has been tested with Auth0 SAML IdP following the instructions

from grist-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.