Skip to content

Commit

Permalink
Remove a TODO on Google callback check.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Aug 14, 2017
1 parent 734a005 commit 64d1cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/oauth2.py
Expand Up @@ -19,7 +19,7 @@ def google_authn(self, trans, **kwargs):
return trans.response.send_redirect( web.url_for( trans.app.authnz_manager.authenticate( "Google", trans ) ) )

@web.expose
def google_callback(self, trans, **kwargs): # TODO: to be tested.
def google_callback(self, trans, **kwargs):
if trans.app.authnz_manager.callback( "Google", kwargs[ 'state' ], kwargs[ 'code' ], trans ) is False:
# TODO: inform the user why he/she is being re-authenticated.
self.google_authn( trans )

0 comments on commit 64d1cd8

Please sign in to comment.