Author Topic: External Login  (Read 3446 times)

Offline codybaker

  • Jr. Member
  • **
  • Posts: 13
External Login
« on: December 27, 2006, 02:48:44 PM »
I'm trying to setup an external login to my roundcube site. I copied the form fields from the login page, to my login page and it works.... kind of. More specifically, it works if I've already visited the roundcube installation, but if I haven't I get an error "Your Browser Does Not Accept Cookies". I'm assuming that when I visit the roundcube installation I'm picking up that authorization cookie I've heard about in I tried this with both the SVN version and the .1b2 releases.

Offline seansan

  • Jr. Member
  • **
  • Posts: 84
Re: External Login
« Reply #1 on: December 28, 2006, 08:40:14 AM »
I use this - and works fine

Code: [Select]

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<BODY OnLoad='window.setTimeout(&quot;document.login.submit()&quot;,500); '>
 <form action=&quot;=>PATH TO ROUNDCUBE INDEX.PHP /mail2/index.php&quot; method=&quot;post&quot; name=&quot;login&quot;>
 <input name=&quot;_action&quot; value=&quot;login&quot; type=&quot;hidden&quot; />
 <input name=&quot;_user&quot; value=&quot;ENTER_USER_NAME&quot; type=&quot;hidden&quot; />
 <input name=&quot;_pass&quot; value=&quot;ENTER_PASSWORD&quot; type=&quot;hidden&quot; />
 <br /><br /><br /><FONT FACE=Garamond SIZE=5>
 Please wait while we transfer you... (Redirecting to ENTER_NAME)