Skip to content

Commit

Permalink
Revert PR #52 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegotid authored Dec 2, 2024
1 parent f41a5e2 commit 403292a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 34 deletions.
64 changes: 31 additions & 33 deletions callflows/authorization/authorization_openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,46 +17,13 @@ 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
tags:
- Authorize an application
security:
- {}
x-readme:
explorer-enabled: false
description: |
Authorizes an application to access a resource from the user device
Expand Down Expand Up @@ -118,6 +85,37 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion gettingstarted/sandbox/usethesandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

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.
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.

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.

Expand Down

0 comments on commit 403292a

Please sign in to comment.