This pull request removes the need for the req and pay in the claims JWT.

Use the new version of the notifications-python-client. This version no longer adds the req and pay to the claims of the jwt.

The change is backward compatible so an older client that sends a JWT with the extra claims will pass authentication.
Once all the clients have been updated to not include the extra claims some updates to exclude them from the method signatures will happen as well.

The documentation has been updated to reflect this change.

https://www.pivotaltracker.com/story/show/116971293
This commit is contained in:
Rebecca Law
2016-04-15 11:04:35 +01:00
parent 99d5a3afc7
commit 1fe5ae0371
9 changed files with 7 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
from flask import jsonify, request
from app import (version, status_api_client)
from app.status import status
from notifications_python_client import HTTPError
from notifications_python_client.errors import HTTPError
@status.route('/_status', methods=['GET'])