generated from NHSDigital/nhs-notify-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
CCM-13280: Add missing authorization header #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d0c82d5
auth header
masl2 e1ac3d4
remove required for published spec simplicity
masl2 9ff7db5
authorization variants by apim env
masl2 3d60875
change defaults to prod
masl2 5c121c6
use make for spec build
masl2 9954fb2
try to increase timeout
masl2 de9645e
revert timeout experiment
masl2 b27731f
change dynamic envs to use apikey header
masl2 e36d230
Merge branch 'main' into add-missing-authorization-header
masl2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1.0.0-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash} | ||
| 1.0.1-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| version: 0.2.0-20251120.121539+0c18993 | ||
| version: 1.0.1-20251125.131623+3d60875 |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-int.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: true | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-internal-dev-pr.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: false | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-internal-dev.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: false | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-prod.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: true | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-ref.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: true | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
9 changes: 9 additions & 0 deletions
9
specification/api/components/parameters/authorization/authorization-sandbox.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Authorization | ||
| in: header | ||
| description: |- | ||
| An OAuth 2.0 bearer token. Required in integration and production environments. | ||
| required: false | ||
| schema: | ||
| type: string | ||
| pattern: ^Bearer [[:ascii:]]+$ | ||
| example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM |
1 change: 1 addition & 0 deletions
1
specification/api/components/parameters/authorization/authorization-template.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| $ref: $AUTHORIZATION |
1 change: 1 addition & 0 deletions
1
specification/api/components/parameters/authorization/authorization.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| $ref: authorization-prod.yml |
2 changes: 1 addition & 1 deletion
2
specification/api/components/security-schemes/security-schemes.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| $ref: security-schemes-internal-dev-pr.yml | ||
| $ref: security-schemes-prod.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| $ref: security-internal-dev-pr.yml | ||
| $ref: security-prod.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| $ref: access-internal-dev-pr.yml | ||
| $ref: access-prod.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| $ref: target-internal-dev-pr.yml | ||
| $ref: target-prod.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.