Topic on Project:Support desk

Last called parser hook(s)?

2
YOUR1 (talkcontribs)

Description: I've wrote a parser hook that checks if the guest has a valid SAML session - if so it logs the user in into the MediaWiki's user object. If I disable the check and let the guest login manually it works fine (so the signin function ect. is working as it should).

Problem: The cookies arent set, because the hook "CheckADFSPlugin" is ran BEFORE the 'signin' function is called. The hook is currently bound to: BeforePageDisplay since it needs to check the SAML session and user SESSION every page hit.

TheDJ (talkcontribs)

Not entirely sure what you need to do exactly, but mostly likely you will need one of the hooks that Extension:CentralAuth uses as well. Look at the bottom of that page, to find categories for each hook that the extension uses.

Reply to "Last called parser hook(s)?"