diff --git a/callflows/authorization/authorization_openapi.yaml b/callflows/authorization/authorization_openapi.yaml index f7b8a2f..af6827e 100644 --- a/callflows/authorization/authorization_openapi.yaml +++ b/callflows/authorization/authorization_openapi.yaml @@ -17,6 +17,37 @@ servers: default: sandbox.opengateway.telefonica.com/apigateway description: API gateway URL paths: + /bc-authorize: + post: + summary: CIBA + tags: + - Authorize an application + security: + - basicAuth: [] + description: | + Authorizes an application to access a resource from the backend + + Check the [Backend authorization flow guide](/docs/backend) for more information. + operationId: bcAuthorize + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: "#/components/schemas/AuthorizeRequest" + required: true + responses: + "200": + description: Returns an authorization code + content: + application/json: + schema: + $ref: "#/components/schemas/AuthorizationRequestId" + "400": + $ref: "#/components/responses/Generic400" + "401": + $ref: "#/components/responses/Generic401" + "403": + $ref: "#/components/responses/Generic403" /authorize: get: summary: Auth Code Flow @@ -24,6 +55,8 @@ paths: - Authorize an application security: - {} + x-readme: + explorer-enabled: false description: | Authorizes an application to access a resource from the user device @@ -85,37 +118,6 @@ paths: $ref: "#/components/responses/Generic401" "403": $ref: "#/components/responses/Generic403" - /bc-authorize: - post: - summary: CIBA - tags: - - Authorize an application - security: - - basicAuth: [] - description: | - Authorizes an application to access a resource from the backend - - Check the [Backend authorization flow guide](/docs/backend) for more information. - operationId: bcAuthorize - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/AuthorizeRequest" - required: true - responses: - "200": - description: Returns an authorization code - content: - application/json: - schema: - $ref: "#/components/schemas/AuthorizationRequestId" - "400": - $ref: "#/components/responses/Generic400" - "401": - $ref: "#/components/responses/Generic401" - "403": - $ref: "#/components/responses/Generic403" /token: post: summary: /token diff --git a/gettingstarted/sandbox/usethesandbox.md b/gettingstarted/sandbox/usethesandbox.md index d79f08d..c092567 100644 --- a/gettingstarted/sandbox/usethesandbox.md +++ b/gettingstarted/sandbox/usethesandbox.md @@ -33,7 +33,7 @@ For every application you create, you will need to follow these simple steps to ![Production mode and mock mode of Sandbox](https://github.com/Telefonica/opengateway-developers-website/raw/main/gettingstarted/sandbox/images/production_mock.png) - - **Mock mode** + - **Mock mode** You can test your application without the need to have a SIM card from one of our mobile operators. The Sandbox will provide you with a mock response for every API call you make. @@ -41,7 +41,7 @@ For every application you create, you will need to follow these simple steps to ![Usage mode](https://github.com/Telefonica/opengateway-developers-website/raw/main/gettingstarted/sandbox/images/usage-mode.png?raw=true) -3. Briefly describe your application as part of the application onboarding process so that mobile operators can understand the purpose of your tests and validate it. +1. Briefly describe your application as part of the application onboarding process so that mobile operators can understand the purpose of your tests and validate it. Since it is a testing environment, your application won't be rejected as per this information, but our Sandbox uses standard procedures to register applications in the mobile operators' systems which takes this data as mandatory.