-
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: Add DID deactivation check for credential issuing [DEV-3136] (#345)
* Add parameter allowDeactivated for allowing issue credential with deactivatedDID in /credential/issue endpoint. * Update package-lock.json. * Remove the custom implementation of JSON.stringify because this custom method is written incorrectly and doesn't allow to show swagger.json in SwaggerUI. * Fix login/logout dynamic custom button panel. * Revert code. * Update custom-button.ts. * Refactor code. * Remove an unnecessary use of boolean literals in conditional expression. * Add allowDeactivatedDid query parameter to /credential/verify endpoint. * Remove an unnecessary use of boolean literals in conditional expression. * Add implementation for blocking issue credential based on a deactivated DID. * Add allowDeactivatedDid query parameter for /presentation/verify endpoint. * Update package-lock.json. * Update package-lock.json * Add more wide error code when result is empty and etc. * Add more wide error code for presentation/verify. * Update package-lock.json. * Move a common logic of decode JWT to helper.ts. * Remove duplicate import packages. * Update package-lock.json. * Add static validation for JWT. * Update .eslintrc.json * Check credential status before suspension/reinstate * Update package-lock.json * npm run format * PresentationVerifyRequest * Add presentation validator JWT check --------- Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
- Loading branch information
1 parent
95385f9
commit 023bba1
Showing
10 changed files
with
314 additions
and
211 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.