Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

basic-auth doesn't work with Chrome

Edited

Some information about the structure behind my self-hosted Confluence Wiki: Confluence itself runs in a Docker Container (official Docker image from Atlassian), it's secured by a reverseproxy with mod_secure and basic-auth. There are no errors on the reverseproxy error log (including mod_secure logs) or in the confluence logs. Additionally, the plugin Secure Login (2FA) by Syracom AG is also installed with some software OTP tokens.

The problem only occurs with Google Chrome (also tested with Mozilla Firefox and Microsoft Edge, all with and without cache/ private mode) and only with non-administrator/ non-2FA users. After authenticating at the reverse proxy via basic-auth and authenticating at confluence with normal user credentials, the reverse proxy immediately asks for authenticating again via basic-auth. The problem occurs also when I first login with an administrator, log off and log on with a non-administrator/ non-two-factor-auth user.

All software versions are up to date (Confluence 6.15.4).

Thank you in advance for any advice which might be a solution.

If you need any further technical information about the setup, just ask.

 

UPDATE
When I reload the start page from a non-admin/non-2FA user, my browser console shows one 404 error and one 401 error. The 401 error (authentication required) leads chrome to discard known basic-auth credentials for the site. Firefox and Edge seem to ignore the 401 error, as long as they can load other ressources of the site. The 401 error is generated by some API access. How can I prevent that? According to my tests the 401 error only occurs with non-administrator users, so the 2FA plugin has probably nothing to do with the HTTP error.

1 answer

0 votes
Jack Brickey Community Leader Dec 20, 2021

@Jonas Berger , this is a rather old post. I as wondering if this is still occurring and if not did you discover the cause?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

37,738 views 27 124
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you