We run a Plone site configured with wcs.samlauth against Azure AD, alongside some local Plone users. At times we email deep links to content that belongs to a specific user.
We’re seeing two issues:
Unauthenticated requests are sent to Plone’s default login form instead of being redirected to Azure AD (which would be correct for ~99% of users).
The came_from parameter doesn’t seem to survive the SAML/OIDC redirect flow.
Ideal behavior: Plone should redirect to the Azure AD login, carrying the original URL in came_from; after a successful login, Plone should honor came_from and take the user back to that original URL.
Is this achievable, and if so, what’s the recommended approach?