WebExternalAuth trouble

I’m trying to use Apache::AuthCookie for authentication, because we are
using RT as a part of a larger customer portal and we want users to only
have to log in once, rather than logging in to our portal and then logging
in once more to RT. That being said, I’m having a heck of a time, but I’m
sure its just because I’m not going about this the right way. Here is what
I’ve done to my httpd.conf:

PerlAuthenHandler ICS::AuthCookieSponHandler->authenticate AuthType ICS::AuthCookieSponHandler PerlAuthzHandler ICS::AuthCookieSponHandler->authorize AuthName MinuteMenuSponsor require species S SetHandler perl-script PerlHandler RT::Mason

Notice that basically all I’ve done here is add in hooks to the Authen and
Authz steps with AuthCookie. I’ve tested that the AuthCookie authentication
works fine on its own by commenting out the SetHandler perl-script and
PerlHandler RT::Mason lines and then calling a page. I get re-routed to my
custom login page, then if I log in successfully, I get sent to the page I
asked for.

When I uncomment the RT::Mason stuff and define $RT::WebExternalAuth,
strange things happen. Rather than getting my custom login page, I get RT’s
login page, but sans login and password fields. Basically just an empty
grey box. A screen shot can be found at
http://minutemenu.icaresys.com/webexternalauth.jpg . So I’m wondering what
I’ve done wrong, why I’m getting RT’s login page rather than my custom
AuthCookie page, and why RT’s login page is missing fields.

I’ve looked over the wiki, but if someone has a link that I have missed, I’d
love to read up on this to figure out the correct way to interject my own
authentication in front of RT’s.

Thanks,

Jonathan Reeder

When I uncomment the RT::Mason stuff and define $RT::WebExternalAuth,
strange things happen. Rather than getting my custom login page, I get RT’s
login page, but sans login and password fields. Basically just an empty
grey box.

Does RT have a username that matches what REMOTE_USER get’s set to?

seph