-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Limit scope of Personal Access Token (#2456)
* Add scopes in the JWT Signed-off-by: at670475 <[email protected]> * Add validation for jwt Signed-off-by: at670475 <[email protected]> * Add validation for jwt Signed-off-by: at670475 <[email protected]> * test for validation of scopes in token Signed-off-by: achmelo <[email protected]> * Add IT Signed-off-by: at670475 <[email protected]> * Make scope value case non sensitive Signed-off-by: at670475 <[email protected]> * return immediately for incorrect request body Signed-off-by: achmelo <[email protected]> * resolve conflicts Signed-off-by: achmelo <[email protected]> * share object in request Signed-off-by: achmelo <[email protected]> * Fix check style Signed-off-by: at670475 <[email protected]> * Fix check style Signed-off-by: at670475 <[email protected]> * test for salt initialization Signed-off-by: achmelo <[email protected]> * format Signed-off-by: achmelo <[email protected]> * fix check style pt.3 Signed-off-by: at670475 <[email protected]> * fix styles Signed-off-by: achmelo <[email protected]> * Add tests Signed-off-by: at670475 <[email protected]> * Refactoring of test Signed-off-by: at670475 <[email protected]> Co-authored-by: achmelo <[email protected]>
- Loading branch information
Showing
22 changed files
with
361 additions
and
77 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
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.