Add a login form in your site

You can add a “Log Into Teambox” form on your website.

Regular login form

For it, simply copy the snippet below on your site. You should assign CSS styles to it to adapt it to your site’s design.


    <form action="http://teambox.com/session" id="teambox_login" method="post">
    <div class="login text_field">
      <label for="login">Email or Username</label>
      <input autofocus="true" id="login" name="login" tabindex="1" type="text">
    </div>
    <div class="password text_field">
      <label for="password">Password</label>
      <input id="password" name="password" tabindex="2" type="password">
    </div>
    <input name="commit" type="submit" value="Login">
    <p class="right_link"><a href="http://teambox.com/">Get a Teambox account</a></p>
    </form>

Automatic login buttons

If you want to set up a button that logs a user into Teambox, use the following form substituting the USERNAME and PASSWORD values.

Be careful, however: This will expose your password publicly. Use with caution. This is meant for links inside other applications, where the link is properly protected.


    <form action="http://teambox.com/session" id="teambox_auto_login" method="post">
      <input id="login" name="login" tabindex="1" type="hidden" value="USERNAME">
      <input id="password" name="password" tabindex="2" type="hidden" value="PASSWORD">
      <input name="commit" type="submit" value="Log into Teambox">
    </form>

OAuth integrations

Some sites can use OAuth authentication to do Single Sign-On with one click. Google Apps has this integration enabled in the top bar.

If you’d like to integrate your own service, get in touch with us.

Knowledge Base and Helpdesk