Question

I've developed a sso filter and it worked fine with identity server4.1 However, when I migrate to 4.5, it keeps redirecting to localhost:9443 instead of the url i configured.(My Identity server is on another server)

So is it a bug or do i need do some extra configuration on identity server?

Was it helpful?

Solution

Yes, you need to do one more config. Locate the application-authenticators.xml file in the path wso2is-4.5.0/repository/conf/security/application-authenticators.xml. Locate the bellow config

loginPage="https://localhost:9443/authenticationendpoint/login.do"

There change the hostname accordingly.

OTHER TIPS

You means that from your filter, it is always redirecting to localhost:9443 (SAML Auth request)? Or else after authenticating (after entering user name and passwords) with Identity Server, it redirected to localhost:9443?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top