Skip to content

Commit

Permalink
Remove 403 INVALID_TOKEN_CONTEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
bigludo7 authored Jan 23, 2025
1 parent f0b558b commit a729d7a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions code/API_definitions/number-verification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ components:
Client does not have sufficient permission.
In addition to regular scenario of `PERMISSION_DENIED`, other scenarios may exist:
- Client authentication was not via mobile network. In order to check the authentication method, AMR parameter value in the 3-legged user's access token can be used and make sure that the authentication was not either by SMS+OTP nor username/password (`{"code": "NUMBER_VERIFICATION.USER_NOT_AUTHENTICATED_BY_MOBILE_NETWORK","message": "Client must authenticate via the mobile network to use this service"}`)
- Phone number cannot be deducted from access token context.(`{"code": "INVALID_TOKEN_CONTEXT","message": "Phone number cannot be deducted from access token context"}`)
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
Expand All @@ -295,7 +294,6 @@ components:
enum:
- PERMISSION_DENIED
- NUMBER_VERIFICATION.USER_NOT_AUTHENTICATED_BY_MOBILE_NETWORK
- INVALID_TOKEN_CONTEXT
examples:
GENERIC_403_PERMISSION_DENIED:
description: Permission denied. OAuth2 token access does not have the required scope or when the user fails operational security
Expand All @@ -308,11 +306,6 @@ components:
status: 403
code: NUMBER_VERIFICATION.USER_NOT_AUTHENTICATED_BY_MOBILE_NETWORK
message: Client must authenticate via the mobile network to use this service
GENERIC_403_INVALID_TOKEN_CONTEXT:
value:
status: 403
code: INVALID_TOKEN_CONTEXT
message: Phone number cannot be deducted from access token context
externalDocs:
description: Project documentation at CAMARA
url: https://github.com/camaraproject/NumberVerification

0 comments on commit a729d7a

Please sign in to comment.