SAML and redirect on CP
We are trying to set up saml to redirect to the initiated page. Eg: in our case view support history page vs ask/raise enquiry page. As saml is IDP initiated we have created a number of entries. However as we are developing more CP pages which require login, this is becoming unmanageable on the IDP side, as each page requires an end point with redirect to that page on the same interface. This also limits our ability to use SAML with campaigns (eg: cc and ci redirect end pages).
Has anyone been able to do something clever using SAML to redirect the end user to the page they initiated the login for without creating multiple IDP entries? We were thinking about using hooks but not sure if this would work or not?