Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SAML login does not redirect to original requested page

Avatar

Level 2

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?

0 Replies