basic auth configuration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
jperrin
Posts: 1
Joined: 12 Sep 2006, 20:58

basic auth configuration

Post 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.
benteil
Posts: 3
Joined: 09 Jan 2008, 10:45

Re: basic auth configuration

Post 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.
tys
Posts: 2
Joined: 20 Jul 2013, 19:12

Re: basic auth configuration

Post 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!
Post Reply