Code Monkey home page Code Monkey logo

Comments (8)

georgegevoian avatar georgegevoian commented on August 24, 2024 2

A fix has now landed in grist-omnibus. It's also in the latest grist-core image, and will be included in the next versioned release (1.1.15).

Let us know if you run into any issues. Thanks!

from grist-core.

georgegevoian avatar georgegevoian commented on August 24, 2024 1

@s-karrer thanks for digging into the problem. Can you confirm that adding just this._userIdMiddleware to formMiddleware addresses your issue? (That fix should be landing shortly.)

from grist-core.

s-karrer avatar s-karrer commented on August 24, 2024 1

@s-karrer thanks for digging into the problem. Can you confirm that adding just this._userIdMiddleware to formMiddleware addresses your issue? (That fix should be landing shortly.)

Yes just adding this._userIdMiddleware is working fine. Thank you!

from grist-core.

thinkbig1979 avatar thinkbig1979 commented on August 24, 2024

Having a similar issue with forms. I'm using zitadel OIDC SSO, which is working with Grist otherwise, only forms seem to have a problem. Here's the console output:
image

On the Zitadel side, this is all the log shows:
image

from grist-core.

fflorent avatar fflorent commented on August 24, 2024

Do you really need GRIST_FORCE_LOGIN to be set? Quoting the documentation:

Much like GRIST_ANON_PLAYGROUND but don't support anonymous access at all (features like sharing docs publicly requires authentication)

Or would GRIST_ANON_PLAYGROUND=false fit your need?
AFAICT, with this option, the forms work.

from grist-core.

thinkbig1979 avatar thinkbig1979 commented on August 24, 2024

Thanks @fflorent, thanks for your comment, but I do not want the forms to be publicly accessible, and this problem occurs both when users are logged in prior to trying to access the form or when they go to the form url and are sent to the login page. As soon as they are logged in, this error occurs.
The docs say this about FORCE_LOGIN, and that is what I want to happen, as I do not want anonymous users in the system at all. So as far as I can tell, that setting is correct.

GRIST_FORCE_LOGIN: (optional) when set to true this will instruct Grist to redirect anonymous users to a login page.

from grist-core.

paulfitz avatar paulfitz commented on August 24, 2024

This turns out to be easy to replicate in grist-omnibus, local setup, default example in README. Parallel thread in forum here: https://community.getgrist.com/t/forms-not-working-on-self-hosted-grist/5212

from grist-core.

paulfitz avatar paulfitz commented on August 24, 2024

@georgegevoian and @berhalak I'd appreciate your eyes on this issue [when you're available obviously, otherwise enjoy your respective vacations :-)].

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.