Page 1 of 1

basic auth configuration

Posted: 12 Sep 2006, 21:07
by jperrin
I'm reasonably certain that I'm missing something trivial, but I don't see it in the documentation, or in the default configs. I've got mantis up but I want to use http basic auth so that I can integrate mantis with our single sign-on environment, however in testing with standard apache basic auth, I can't get mantis to play nice.

I've tried modifying config_inc.php by adding $g_login_method = BASIC_AUTH as the comments show and had no joy. I also tried modifying config_defaults_inc.php and changing the g_login_method to BASIC_AUTH as well, and still no joy. apache basic auth works fine, however after logging into apache, mantis still redirects me to the login screen.

The user exists and is active in mantis, apache auth works, mantis version 1.0.5 works with MD5 auth, but not with BASIC_AUTH. Any suggestions are warmly welcomed.

Re: basic auth configuration

Posted: 09 Jan 2008, 10:50
by benteil
Hello,

I've the same problem than you, but i've found this web page about mantis authentication.

http://mjaya.blogspot.com/2007/07/exper ... basic.html

I've tried to change the auth mode to basic, but it didn't work. The "HTTP_AUTH" mode works quite correctly.

If you find the complete solution, i'm also really interesting.

Re: basic auth configuration

Posted: 06 Oct 2013, 14:28
by tys
Hi,

this thread is very old, but I'm facing the same problem... Is there any solution?

I started using Mantis with HTTP Authentication but need to switch to BASIC.

Thanks in advance!