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

SSO don't work when Dokuwiki is installed on a subdomain #33

Open
SiM opened this issue Jan 6, 2018 · 6 comments
Open

SSO don't work when Dokuwiki is installed on a subdomain #33

SiM opened this issue Jan 6, 2018 · 6 comments

Comments

@SiM
Copy link

SiM commented Jan 6, 2018

I'm not automatically logged into Dokuwiki when it is installed on a subdomain.
Although I'm logged in YunoHost, I need to log in Dokuwiki (works with my YunoHost credentials).

In opposite, everything is ok when Dokuwiki is installed on root domain.

@JimboJoe
Copy link

Tried to reproduce your issue without success...

Is the behavior the same since dokuwiki installation, or is it happening since an upgrade?
Did you tune the dokuwiki configuration?
Did you trying installing another instance on another subdomain?
What is your YunoHost version?

@SiM
Copy link
Author

SiM commented Jan 19, 2018

yunohost: 2.7.5
yunohost-admin: 2.7.5
moulinette: 2.7.5
ssowat: 2.7.5

I did not tune the Dokuwiki configuration.

I noticed this issue because I wanted to move my Dokuwiki installation on a subdomain (it was installed on root domain). The operation succeed but I had this problem with the SSO
To be sure if that was (or not) because of my domain migration : on another YunoHost instance (same version), I removed Dokuwiki and tried to install it on a subdomain : same issue. If I remove it and install again on root domain : no problem, SSO is working. I tried on different subdomain, with default path and custom path, the behaviour is the same.
After your comment I tried to install two Dokuwiki version : one on root domain and one on a subdomain : I have the same behavior : automatically logged on the root domain instance and not logged in the subdomain instance.

I will try soon on YunoHost 2.7.7

@SiM
Copy link
Author

SiM commented Jan 20, 2018

Same behaviour with YunoHost 2.7.7.

$ yunohost -v
yunohost:
  repo: stable
  version: 2.7.7
yunohost-admin:
  repo: stable
  version: 2.7.7
moulinette:
  repo: stable
  version: 2.7.7
ssowat:
  repo: stable
  version: 2.7.7

@JimboJoe
Copy link

OK, I got it reproduced!
It seems to only happen if your Dokuwiki instance domain is different from the YunoHost instance main domain.
Yet, I have no idea about this issue at the moment, and I fear an upstream bug... 😦

@Gofannon
Copy link
Collaborator

Gofannon commented Aug 9, 2018

If you can, could you try the testing version of Dokuwiki and give feedback ?

See here for details and instructions : https://forum.yunohost.org/t/official-app-dokuwiki/5366

@SiM
Copy link
Author

SiM commented Mar 29, 2021

For information the problem is still present today

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

3 participants