Why are Yunohost "visitors" required to log in to see a public page?

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: 11.2.12
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | … all of the above
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no, there is no special context
If yes, please explain:

Description of my issue

Hi folks - I’m trying to install any blog / website CMS that will allow a non-logged in i.e. “public” / “visistor” to see a public page or website.
It appears that any of the offerings - currently Bookstack, but previously: automad and wondercms - anyway, any of them that have a php file don’t seem to allow public users (users without a yunohost login) to see the website.
Why is this and how do I fix it?

logs from a fresh install: https://paste.yunohost.org/raw/iwehovufej

I don’t know if this is helpful, but this is what a non-logged in user sees:

I expected to just see the website if I’m not logged in.

Here are some more pics:

This is from the app:
Screenshot_2024-06-12_09-15-21

Is your blog on the main site in a directory or is it on a separate subdomain? The latter should work as you expect. The former is unlikely to.

You have to clear the browser cache or use a private window to test it.
And what link do you want your app on? a subdomain or a path ? your main domain is always used for yunohost portal, you can change it to another subdomain

the blog should be available:
https://x42.nohost.me/BALCAS

is there a reason it doesn’t work on a subdomain? Yunhost doesn’t say anything about having to use sso if you set it up on a subdomain. and the list of users shows public anonymous users as an option - so is this a bug?

I cleared the cache, and even accessed the page from a smartphone using public data and I still see the sso login. Can I just disable the sso login altogether? Bookstack has a built in user admin system.

I can’t reproduce the issue, I just see a public bookstack when I open the link you shared…

Edit: I also installed Bookstack on a random yunohost, chose the app as public (visitors) during install, and I don’t get redirected to the SSO when trying to access it …

1 Like

wait - what? you see bookstack, not yunohost sso?

maybe it’s fixed… :wink:

1 Like

i see this when i go to that link…but you don’t have an SSL certificate.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.