diff --git a/app/blueprints/oauth/__init__.py b/app/blueprints/oauth/__init__.py index 1241b590..691f8488 100644 --- a/app/blueprints/oauth/__init__.py +++ b/app/blueprints/oauth/__init__.py @@ -142,6 +142,7 @@ def oauth_grant(): db.session.commit() return jsonify({ + "success": True, "access_token": token.access_token, "token_type": "Bearer", }) diff --git a/app/flatpages/help/oauth.md b/app/flatpages/help/oauth.md index 4b5dccab..99487e29 100644 --- a/app/flatpages/help/oauth.md +++ b/app/flatpages/help/oauth.md @@ -69,6 +69,7 @@ If successful, you'll receive: ```json { + "success": true, "access_token": "access_token", "token_type": "Bearer" }