aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/oauth/__init__.py
diff options
context:
space:
mode:
authorJoar Wandborg <joar@wandborg.se>2013-03-10 22:52:07 +0100
committerJoar Wandborg <joar@wandborg.se>2013-04-06 22:17:27 +0200
commitc121a7d3d0c48d4e3abf43c06047dde3e25616c3 (patch)
tree049194dbcf47d2184845736fca3a75fbdd2cacf9 /mediagoblin/plugins/oauth/__init__.py
parentfe6755f0f44e1148e2cb72538f8e64c4a9740f7f (diff)
downloadmediagoblin-c121a7d3d0c48d4e3abf43c06047dde3e25616c3.tar.lz
mediagoblin-c121a7d3d0c48d4e3abf43c06047dde3e25616c3.tar.xz
mediagoblin-c121a7d3d0c48d4e3abf43c06047dde3e25616c3.zip
OAuth: Support refresh tokens, etc
Initially I was going to write a failing test for refresh tokens. Thus this fix includes an orphaned 'expect_failure' method in test utils. I ended up writing support for OAuth refresh tokens, as well as a lot of cleanup (hopefully) in the OAuth plugin code. **Rebase**: While waiting for this stuff to be merged, the testing framework changed, it comes with batteries included regarding fails. Removed legacy nosetest helper. Also added a lot of backref=backref([...], cascade='all, delete-orphan')
Diffstat (limited to 'mediagoblin/plugins/oauth/__init__.py')
-rw-r--r--mediagoblin/plugins/oauth/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/plugins/oauth/__init__.py b/mediagoblin/plugins/oauth/__init__.py
index 4714d95d..5762379d 100644
--- a/mediagoblin/plugins/oauth/__init__.py
+++ b/mediagoblin/plugins/oauth/__init__.py
@@ -34,7 +34,7 @@ def setup_plugin():
_log.debug('OAuth config: {0}'.format(config))
routes = [
- ('mediagoblin.plugins.oauth.authorize',
+ ('mediagoblin.plugins.oauth.authorize',
'/oauth/authorize',
'mediagoblin.plugins.oauth.views:authorize'),
('mediagoblin.plugins.oauth.authorize_client',