Public Access ("Anyone with link") does not work
mplattner opened this issue · comments
As the title says, publicly sharing a document ("Anyone with link") does not seem to work with grist-omnibus
.
The authentication page is always shown, i.e., accessing the document without logging in is not possible.
Can this be fixed by editing the dex.yaml
file?
Hmm that's a good point @mplattner. I don't think there is an easy way around this. Currently there is nothing special about the URL of a publicly shared document compared to regular documents, so authentication methods wrapped in front of Grist have no way to distinguish them and treat them differently. grist-omnibus
uses that a wrapper like that, as opposed to other options that are under Grist's direct control.
Ideally someone would tweak Grist to use some special path prefix like /p/....
for public docs, and then when wrapping auth, omit if for URLs with that /p/ prefix.
If you have a small number of documents, you could edit traefik.yaml
to manually omit the auth middleware from them. You'd need to rebuild the docker image then. So, pretty inconvenient in many respects. Sorry!
Otherwise, the SAML auth method with grist-core would work as expected (it doesn't wrap Grist).
Many thanks for you quick response! No problem it doesn't work out-of-the-box.
Btw, I've discovered Grist a few days ago and it's seriously great! 😊