Skip to content

Instantly share code, notes, and snippets.

@basecamp
Created December 12, 2009 19:07
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save basecamp/255012 to your computer and use it in GitHub Desktop.
Save basecamp/255012 to your computer and use it in GitHub Desktop.
<form action="https://launchpad.37signals.com/authenticate" method="post">
<input name="product" value="YOUR-PRODUCT" type="hidden" />
<input name="subdomain" value="YOUR-SUBDOMAIN" type="hidden" />
<p>Username<br />
<input name="username" id="username" type="text" /></p>
<p>Password<br />
<input name="password" id="password" type="password" /></p>
<p><label><input name="remember_me" id="remember_me" value="1" type="checkbox" />
Remember me on this computer
</label></p>
<p><input name="submit" value="Sign in" type="submit" /></p>
</form>
The product and subdomain fields must be customized.
Product should be one of basecamp, backpack, campfire, or highrise.
Subdomain should be the subdomain portion of your account's URL.
Example for a Basecamp account located at http://acme.basecamphq.com:
<input name="product" value="basecamp" type="hidden" />
<input name="subdomain" value="acme" type="hidden" />
@dc1421
Copy link

dc1421 commented Oct 6, 2011

Tried this out, but it's not working properly.

It ends up directing to this link: https://launchpad.37signals.com/authenticate
with this message: The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved.

However, when I reload the page and sign in with the same information, It works fine.

How can this be resolved? Any help would be much appreciated.

@richiferro
Copy link

I had the same problem...

I solved in this way:
I replaced https://launchpad.37signals.com/authenticate
with
https://launchpad.37signals.com/session
(when I normally login on basecam it uses this url)
And....
Removed subdomain (not needed)

<form action="https://launchpad.37signals.com/session" method="post">
    <input name="product" value="basecamp" type="hidden" />
    <p>Username<br />
        <input name="username" id="username" type="text"  /></p>
    <p>Password<br />
        <input name="password" id="password" type="password" /></p>

    <p><label><input name="remember_me" id="remember_me" value="1" type="checkbox" />
            Remember me on this computer
        </label></p>

        <p><input name="submit" value="Sign in" type="submit" /></p>
</form>

@toobulo
Copy link

toobulo commented Aug 27, 2013

How would we create a check to see if we are already logged in (and forward if so?). It's strange having to login every time... when you may already be logged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment