--- title: "Install the Sample Authentication Website" slug: "oas-fullsdk-pgjava-install-the-sample-authentication-website-3-28" updated: 2025-07-04T10:05:17Z published: 2025-07-07T15:34:09Z canonical: "docs.onespan.com/oas-fullsdk-pgjava-install-the-sample-authentication-website-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Install the Sample Authentication Website ## Before you begin To install the sample website, you require the following programs: - Java 8 - a Java EE 7 web profile-compatible web container, e.g. Apache Tomcat 8.5.60 ## Install the sample website To install the Java sample authentication website 1. Copy sdk_install_dir\Java\bin\OASAuthSampleSite‑sdk_version.war to the tomcat_install_dir\webapps directory. 2. Wait 10 seconds to allow the Apache Tomcat service to detect and automatically deploy the web archive file. 3. Restart the Apache Tomcat service to complete the deployment. The application should now be deployed and accessible via: > You can rename the web archive file to change also the URL, e.g. rename it to FriendlyName.war and access it via [https://localhost:8443/FriendlyName/](//localhost:8443/FriendlyName/). - [https://localhost:8443/OASSampleSite-/](https://localhost:8443/OASSampleSite-/), if you installed the SDK on a server along with OneSpan Authentication Server using the embedded Apache Tomcat package. - [http://localhost:8080/OASSampleSite-/](http://localhost:8080/OASSampleSite-/), if you installed the SDK on a server with a regular Apache Tomcat installation.