---
title: Auto-Login via Basic Authentication
slug: kronpam-reference-guide-3-9-0/auto-login-via-basic-authentication
description: Learn how to enable auto-login via basic authentication on web servers that use pop-up authentication. Set the http.auto.login.post.header property with the Authorization value to achieve successful authentication. Discover the impact of setting the http.
docTags: 
createdAt: 2022-07-28T11:31:20.000Z
---

Some web servers may require authentication via pop-up. To maintain successful authentication, you need to enable auto-login via the basic authentication feature.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/AU5WAJkngCLwoPLZhs0l9_image.png" size="46" width="415" height="288" position="center" showCaption="false"}

To enable this feature, you must set the **http.auto.login.post.header&#x20;**&#x65;lement type property with the **Authorization&#x20;**&#x76;alue. Unlike the legacy auto-login mechanism for POST requests, both GET and POST requests will be checked for auto-login via basic authentication.

:::hint{type="info"}
You shouldn’t set the **http.auto.login.username.matcher.template** and **http.auto.login.password.matcher.template** properties if you want auto-login via basic authentication.
:::

