I've got Share working nicely under SSO (CAS) but have a problem with redirection when going to a deep link
e.g.
when not logged in
go to
…./document-details?nodeRef=workspace://SpacesStore/bf4050ec-7726-434f-b050-e71b813e9e825
redirects to
/share/page?pt=login
redirects to
SSO service
redirects back to
/share/page?pt=login because that's where it came from
redirects to
dashboard
Any ideas how I can skip the first redirect to /share/page?pt=login ?