Files
Chad Whitacre 31035e3e81 Wire up Bitbucket oauth; #149
I tested connecting a Bitbucket account to an existing account in both
merge and non-merge cases. I need to look at signing in using Bitbucket
in the first place, making sure we have links in all the right places.
2013-03-22 15:08:38 -04:00

20 lines
572 B
HTML

if not user.ANON:
request.redirect('/%s/' % user.id)
title = "Sign In"
^L
{% extends templates/base.html %}
{% block box %}
<div class="as-content">
<p>Sign in using
<a href="{{ twitter.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Twitter</a>,
<a href="{{ github.oauth_url(website, u'opt-in', u'/credit-card.html') }}">GitHub</a>,
or
<a href="{{ bitbucket.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Bitbucket</a>,
and this page will redirect you to your profile.</p>
<p>Thanks! :-)</p>
</div>
{% end %}