# Lenses 6.0 HQ getting 401 (unauthorized) message with admin user

**URL:** <https://ask.lenses.io/t/lenses-6-0-hq-getting-401-unauthorized-message-with-admin-user/395>\
**Category:** General\
**Created:** [July 1, 2025, 9:16am UTC](https://ask.lenses.io/t/lenses-6-0-hq-getting-401-unauthorized-message-with-admin-user/395 "2025-07-01T09:16:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iMajna](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/imajna/32/116_2.png) [@iMajna](https://ask.lenses.io/u/iMajna)\
**Post date:** [July 1, 2025, 9:16am UTC](https://ask.lenses.io/t/lenses-6-0-hq-getting-401-unauthorized-message-with-admin-user/395/1 "2025-07-01T09:16:08Z")

</div>

If you installed freshly Lenses 6.X HQ whether from `docker-compose`, `helm chart`, `docker run` and you are running HQ in non-secure (http) mode you might find that every time you are trying to login whether with admin (break the glass) user or any other it wouldn’t allow you and logs would be filled with `401 Unauthorized` requests.

With these properties being set

```auto
http:  
  accessControlAllowCredentials: false
  secureSessionCookies: false

```

and HQ being restarted, you will be able to continue to use HQ and login successfully.
