---
title: Auto-Login with Two Different Authentication URLs under the Same Web Server
slug: kronpam-reference-guide-3-5-0/auto-login-with-two-different-authentication-urls-under-the-same-web-server
description: Learn how to set up two distinct authentication pages on a single web server with their own unique URLs. Discover how end users can access and utilize the convenient auto-login function via HTTP-Proxy by modifying a specific property key. This comprehensi
docTags: 
createdAt: 2022-07-28T11:33:37.000Z
---

Two different URLs can exist on the same web server (same IP and Port) and&#x20;contain authentication pages under two different URLs. For example, as shown in the following&#x20;images, there can be two different authentication pages. Note that the authentication is done&#x20;under a different URL.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/QUayUwZVkJ49C8V33n1Lm_image.png "First Authentication Page")



![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/bB5gql2iN3fQPot2uLdBw_image.png "Second Authentication Page")

In this case, end users can access and use the auto-login feature with those URLs through HTTP-Proxy on their web browser. To use the auto-login feature, the “http.auto.login.post.url” property key must be edited with a pipe character as required in regex format which allows catching login boxes on two different URLs.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/2zzzZQNfCFJA76E_Dac9m_image.png" size="68" width="772" height="1155" position="center" caption="Element Type Properties Information" showCaption="true"}

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/qQmn3JJ_qKdx5XZY-dUjN_image.png "Allowing multiple WebAppURL definitions under Device Properties with regular expression")

The following image shows the correct format if the Desktop Client App is used.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/53C91PTwLQD_4AdzmNRiq_image.png" size="46" width="609" height="941" position="center" caption="WebAppURL selection on Desktop Client" showCaption="true"}

