---
title: Auto-Login with Two Different Authentication URLs under the Same Web Server
slug: reference-guide-3-0-0/auto-login-with-two-different-authentication-urls-under-the-same-web-server
description: This document explores the concept of having multiple authentication pages on a web server with distinct URLs. Discover how end users can leverage the auto-login functionality through HTTP-Proxy on their web browsers and gain access to these URLs. Learn h
docTags: 
createdAt: 2022-07-28T11:33:37.000Z
---

It is possible for two different URLs to exist on the same web server (same IP and Port) and contain authentication pages under two different URLs.

For example, as shown in the following images, there can be two different authentication pages.


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

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/9aH9-SoEAJregpDWtEZR6_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 to catch login boxes on two different URLs.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/SvUH-Gpmh-0Ex3jvh3vTO_image.png" size="62" width="741" height="481" caption="Element Type Properties Information" position="center" showCaption="true"}

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

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Yv0SjCn4qq_3Us5DtMOjT_image.png" size="38" width="494" height="578" caption=" Desktop Client App" position="center" showCaption="true"}
