mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-25 04:40:58 -05:00
updatd copy to remove uk references
This commit is contained in:
@@ -21,7 +21,7 @@ INVALID_FUTURE_TOKEN_ERROR_MESSAGE = "Token can not be in the future"
|
||||
|
||||
def create_jwt_token(secret, client_id):
|
||||
"""
|
||||
Create JWT token for GOV.UK Notify
|
||||
Create JWT token for Notify.gov
|
||||
|
||||
Tokens have standard header:
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ REQUEST_ERROR_STATUS_CODE = 503
|
||||
REQUEST_ERROR_MESSAGE = "Request failed"
|
||||
|
||||
TOKEN_ERROR_GUIDANCE = "See our requirements for JSON Web Tokens \
|
||||
at https://docs.notifications.service.gov.uk/rest-api.html#authorisation-header"
|
||||
at https://github.com/GSA/notifications-api/tree/main/docs"
|
||||
TOKEN_ERROR_DEFAULT_ERROR_MESSAGE = "Invalid token: " + TOKEN_ERROR_GUIDANCE
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user