# 0.24.1 does not work with auth\_basic

**URL:** <https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682>\
**Category:** Bug\
**Created:** [8 August 2024 09:34 UTC](https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682 "2024-08-08T09:34:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stonebridge8](https://community.vikunja.io/letter_avatar_proxy/v4/letter/s/977dab/32.png) [@stonebridge8](https://community.vikunja.io/u/stonebridge8)\
**Post date:** [8 August 2024 09:34 UTC](https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682/1 "2024-08-08T09:34:52Z")

</div>

We always used Vikunja with a webserver auth\_basic (since at least 0.19) but with 0.24.1 it does not work anymore.

It looks like a request to `manifest.webmanifest` is done without username/password and then it returns `401`

Here is a screenshot from chrome inspector(network):

 ![Screenshot_20240808_113300](https://community.vikunja.io/uploads/default/original/2X/2/259275e2d46b0bf9ea4ca0f7497ef39c890e55f9.png)

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [8 August 2024 15:57 UTC](https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682/2 "2024-08-08T15:57:47Z")

</div>

Very interesting how you got this working at all, since basic auth uses the same header which Vikunja uses for its own JWT-based authorization and thus this should not work at all.

---

<div class="post-metadata">

**Author:** ![Wasabi](https://community.vikunja.io/user_avatar/community.vikunja.io/wasabi/32/969_2.png) [@Wasabi](https://community.vikunja.io/u/Wasabi)\
**Post date:** [8 August 2024 16:02 UTC](https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682/3 "2024-08-08T16:02:46Z")

</div>

Could this be related to the merge of backend and frontend?

Just guessing, I might be completely wrong here but: @stonebridge8 in the previous versions, I assume you had basic auth in front of the frontend (for whatever reason) and communication between frontend and backend was using the built-in JWT based auth?

If so, you might be able to implement that again, but you’d need to selectively enable basic\_auth based on the path that is being requested.

---

<div class="post-metadata">

**Author:** ![stonebridge8](https://community.vikunja.io/letter_avatar_proxy/v4/letter/s/977dab/32.png) [@stonebridge8](https://community.vikunja.io/u/stonebridge8)\
**Post date:** [9 August 2024 11:07 UTC](https://community.vikunja.io/t/0-24-1-does-not-work-with-auth-basic/2682/4 "2024-08-09T11:07:02Z")

</div>

I get it working by excluding manifest.webmanifest from auth\_basic in a way like:

```auto
        location ^~ /manifest.webmanifest {
                auth_basic off;
        }

```
