---
title: Auto-Login with Two Different Authentication URLs under the Same Web Server
slug: kronpam-reference-guide-3-9-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/Ny11sl_2B3tAXYVRIVoHj_image.png" size="52" width="676" height="1011" position="center" caption="Element Type Properties Information" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/kyCM01dv2vV_UzvwzIpUQ_image.png" size="60" width="593" height="618" position="center" caption="Allowing multiple WebAppURL definitions under Device Properties with regular expression" showCaption="true"}

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

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/sY9i9mz_ShMBi3sDJbq83_image.png" size="32" width="322" height="496" position="center" caption="WebAppURL selection on the Kron PAM Desktop Client " showCaption="true"}

