diff -r 590bf2969451 -r c56ca9e06cc8 oauth/oauth.py --- a/oauth/oauth.py Thu Apr 21 11:27:06 2016 +0200 +++ b/oauth/oauth.py Thu Apr 21 12:04:00 2016 +0200 @@ -244,8 +244,8 @@ error_description = "token not found in db?" return jsonify( access_token=token, - redirect_uri= uris, - errors=validate_errors, + uriredirect= uris, + error=validate_errors, description= error_description, scope=scopes )