Good morning all,
Apologies if this is a dumb question, I am new to AEM.
Using AEM 6.5
I have set up a SAML Authn implementation using Okta, adding some OSGi, and extending the AuthenticationInfoPostProcessor, all of that appears to be working just fine.
I have a site, with just a single protected page, that is working as expected.
When I attempt to extend the implementation to protect another site I am running into some unexpected behavior.
trying to go to site1.com/protected.html redirects me to okta for login, back to my postProcess, and then to site1.com/protected.html
trying to go to site2.com/(any page, all are protected) redirects to okta, back to my postProcess then strangely to site1.com (not even the protected page)
In my OSGi I have:
defaultRedirectURL="/"
path="[/content/site1,/content/site2]"
Not sure what is going on here, any thoughts?