Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
5.2
-
Unknown
-
N/A
-
N/A
-
Description
This issue reproduces in quite a particular context. The usecase would be a domain based multiwiki with global users, where users want to login on the main wiki and then be authenticated automatically on the subwikis when they navigate to the subwiki.
Steps to reproduce:
- set farm to domain based in the preferences (in xwiki.cfg as well as in xwiki.properties)
- in xwiki.cfg, set xwiki.authentication.cookiedomains to a subdomain of main wiki (for example, if the main wiki is available at main.localhost.localdomain, cookies domain should be localhost.localdomain ) - if it's not a subdomain, bug
XWIKI-9624will kick in and authentication would not work properly. - subwikis should be accessible at subdomains of the same domain as the wiki main wiki (e.g. foo.localhost.localdomain)
- go in the main wiki, authenticate with a global user
- go to another wiki, you'll find yourself not authenticated
- refresh the page, you'll find yourself authenticated.
Old behaviour (and expected behaviour) was that you would be authenticated on the first load of a page in a subwiki, not on refresh.