wso2is custom authenticationendpoint, redirect page not used


I am developing saml sso using wso2is. I customized the authentication endpoint according the blog post below <a href="http://dulanja.blogspot.sk/2014/01/wso2-is-samlsso-customizing-login-page.html" rel="nofollow">1</a>. Basically I just deployed a war on my server and configured application-authenticators.xml to use it:

<Authenticators> <Authenticator name="BasicAuthenticator" disabled="false" factor="1"> <!-- <Status value="10" loginPage="/authenticationendpoint/login.do" /> --> <Status value="10" loginPage="https://servlet.example.com/customlogin/login.do" /> </Authenticator> </Authenticators>

login is working fine, my custom login-page sends a form to "<a href="https://servlet.example.com/idp/commonauth" rel="nofollow">https://servlet.example.com/idp/commonauth</a>" which redirects me to my sp. but I also want to customize the redirect-page after the login. in the custom endpoint there is a file named 'samlsso_redirect.jsp' which looks like it should do the work but its contents are ignored.

strangely 'samlsso_redirect.jsp' the the bundled authentication endpoint is also ignored.

I have also downloaded the sources of wso2is and found org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet hard codes the redirect message in the sendResponse() method.

Does somebody know how it is working and what I am missing here? How can I customize the redirect message?

<a href="http://dulanja.blogspot.sk/2014/01/wso2-is-samlsso-customizing-login-page.html" rel="nofollow">http://dulanja.blogspot.sk/2014/01/wso2-is-samlsso-customizing-login-page.html</a>


If you are using WSO2IS 5.0.0 version or higher version, You can simplify edit html file which can be found at IS_HOME\repository\resources\security\sso_redirect.html

Following applies to WSO2IS 4.6.0 and older versions

It seems to be that redirect page is can not be customized by using some extension. Please see this <a href="https://wso2.org/jira/browse/IDENTITY-2034" rel="nofollow">jira</a>

However You can do as following if you want to customize it in 4.6.0...


svn checkout <a href="https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.2" rel="nofollow">https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.2</a>

</li> <li>

In src/main/java/org/wso2/carbon/identity/sso/saml/servlet/SAMLSSOProviderServlet.java you have to modify the HTML getting printed in sendResponse() method.

</li> <li>

Build the component using maven and place as a patch in wso2is-4.6.0/repository/components/patches. Copy jar file into any patch directory

</li> <li>

Restart the server

</li> </ol>

note : The built jar name appears as: org.wso2.carbon.identity.sso.saml-4.2.2.jar. Make sure to rename it to org.wso2.carbon.identity.sso.saml_4.2.2.jar (notice that the dash is replaced by an underscore) before placing in the patch folder.


If you are using IS 5.0 then you need to modify this page: IS_HOME\repository\resources\security\sso_redirect.html


  • Using tidyr to combine multiple columns [duplicate]
  • Multi-condition lookup with dates and text
  • Error while parsing and storing xml data in database using jstl tags
  • How do I read a text file by putting its data in a table using CGI in Perl?
  • Why am I getting an error!?(Null pointer Exception) [closed]
  • Submission of PHP Form to XAMPP MySQL database
  • Behaviour of precompiled header file causes error
  • ADODB Recordset.RecordCount giving incorrect answer
  • Extracting XML data into MySQL
  • Can I loop a list in SharePoint with Visual Studio?
  • After searching in a database how to display the result field values in an editor widget using progr
  • get the column name during runtime with entityframework
  • WSO2 API Manager as 2 instance all-in-one setup
  • Generate c# object code and assign values to its properties from an xml document
  • How to keep date from client saved in MongoDB as date?
  • Quote original message in a reply using mailkit
  • How to remove just the index name and not the content in Pandas multiindex data frame
  • InputDispatcher Error
  • Customize google placepicker colors for android
  • Visual Studio 2017 ASP.Net Publish Self-Contained Dot Net Core App
  • Resizing ToolStripButtons to fit complete BackGround image
  • Programmatically check if PHP is installed using Python
  • Working example of paypal Website Payments Pro Hosted Solution Iframe?
  • How to run requests.get asynchronously in Python 3 using asyncio?
  • System call time out?
  • Angular page doesn't refresh after data is added or removed
  • What does “t” refer to in this SQL?
  • pip in virtualenv gets ConnectTimeoutError
  • CERN ROOT exporting data to plain text
  • Element.tagName for python not working
  • Django simple Captcha “No module named fields” error
  • Why does access(2) check for real and not effective UID?
  • How to recover from a Spring Social ExpiredAuthorizationException
  • SSO with signing and signature validation doesn't work
  • How can I estimate amount of memory left with calling System.gc()?
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Hits per day in Google Big Query
  • coudnt use logback because of log4j
  • need help with bizarre java.net.HttpURLConnection behavior