oauth/oauth.py
changeset 58 c56ca9e06cc8
parent 40 10a829681179
--- 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
     )