diff --git a/docs/integrating_with_existing_webapp.md b/docs/integrating_with_existing_webapp.md index 86dde64..0cb7539 100644 --- a/docs/integrating_with_existing_webapp.md +++ b/docs/integrating_with_existing_webapp.md @@ -50,6 +50,13 @@ The structure of the oidc-sample-app we are configuring would be as follows: ``` These properties are required for the OIDC SDK to communicate with Asgardeo. + ``` + If you have a multi page application and want to redirect users to a specific page(eg:myApp.jsp) after successful + authentication you can add the following property to the oidc-sample-app.properties file. + + homePage=myApp.jsp + ``` + 3. Next, we need to find and set JKS properties required for IS server communication. For that, create a file named jks .properties in the resources directory. The content of the jks.properties file should be similar to: diff --git a/io.asgardeo.tomcat.oidc.sample/src/main/resources/configuration-catalog.md b/io.asgardeo.tomcat.oidc.sample/src/main/resources/configuration-catalog.md index c88717a..ece1285 100644 --- a/io.asgardeo.tomcat.oidc.sample/src/main/resources/configuration-catalog.md +++ b/io.asgardeo.tomcat.oidc.sample/src/main/resources/configuration-catalog.md @@ -177,3 +177,17 @@ indexPage=/oidc-sample-app/index.html ``` errorPage=/error.jsp ``` + +### Home Page + +**Property Name:** `homePage` + +**Description:** This may denote the URI for the home page of the webapp. This parameter can be configured to specify +the page that the user would always be redirected to, after successful authentication. + + +**Sample:** + +``` +homePage=home.jsp +```