-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: switch to x-api-key header authentication [DEV-4062] (#556)
* update swagger admin and api options * generate new swagger files for admin and api * remove customJs from swagger * remove user info fetcher since switching to x-api-key * fix: update playwright tests to use "api-key" for authentication [DEV-4071] (#557) * update auth.setup.ts and no-auth.setup.ts * update example.env * export TEST_USER_API_KEY for CI env * set x-api-key only for authenticated user tests * revert changes on no-auth.setup.ts * skip /admin/swagger * Update example.env * update swagger types * generate swagger * fix: remaining * fix incorrect usage way of required * fix indentation * generate swagger-admin * Update swagger-admin.json * hope this passes * keep description --------- Co-authored-by: Ankur Banerjee <[email protected]>
- Loading branch information
Showing
19 changed files
with
4,045 additions
and
3,960 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -41,3 +41,9 @@ ISSUER_PRIVATE_KEY_HEX="akjvncanv....avoa" | |
ISSUER_PUBLIC_KEY_HEX="alnvca...dvncioa" | ||
ISSUER_DID="did:cheqd:testnet:afcnoa...adv" | ||
DEFAULT_FEE_PAYER_MNEMONIC="sketch mountain ....." | ||
|
||
|
||
# TEST_RUNNER | ||
TEST_USER_EMAIL='[email protected]' | ||
TEST_USER_PASSWORD='...' | ||
TEST_USER_API_KEY='caas_...' |
This file contains 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 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 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 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 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 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 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 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 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 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.