Forum Discussion

FranzG's avatar
FranzG
Genius
8 years ago

Page Init on /plugins/common/feature/*

Hopefully this is a quick question to answer...   Does the Page Initialization script run on all server requests or just requests to certain paths/pages?   Context: I'm trying to run some logic ...
  • DougS's avatar
    8 years ago

    Unfortunately, you are correct -- the SSO page logic runs before the page init logic, so anything you add to your page init script will not have a chance to run before the redirect.

     

    Do you think you could fashion an apache rewrite rule to do the same redirect? (I think it should be possible) If so, then you could probably file a support case to have support add the rule for you. Otherwise, I think this would be something you would have to engage with Services to build in.

     

    -Doug