Skip to content
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

[CC-1376] jwt token #191

Merged
merged 7 commits into from
Aug 19, 2024
Merged

[CC-1376] jwt token #191

merged 7 commits into from
Aug 19, 2024

Conversation

Ryouzanpaku
Copy link
Contributor

@Ryouzanpaku Ryouzanpaku commented Aug 13, 2024

  • Dropped support of Dev environment, since it is rarely used and would require extra handling now that its not supported by all Apis.
  • Also contains automatic reformatting
  • Not in this PR:
    • Paypage handling.
    • Actual use of bearer authentication.

- refactor to support multiple apis.
- add create request fo jwt token.
- Check if JWT is required for request.
- Create token before resource request.
- Validate expiry of existing token
@Ryouzanpaku Ryouzanpaku changed the title Cc 1376/jwt token [CC-1376] jwt token Aug 13, 2024
Copy link

github-actions bot commented Aug 13, 2024

Logo
Checkmarx One – Scan Summary & Detailscaaad627-0cb1-45f0-98dc-fbc0441fcdfc

No New Or Fixed Issues Found

- Cleanup code.
- Simplify method parameters for requests.
- Simplify automatic token creation unit test.
@Ryouzanpaku Ryouzanpaku marked this pull request as ready for review August 14, 2024 08:04
Copy link

@AntonAtUnzer AntonAtUnzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Ryouzanpaku Ryouzanpaku merged commit 3e2ccde into main Aug 19, 2024
11 checks passed
@Ryouzanpaku Ryouzanpaku deleted the CC-1376/jwt-token branch August 19, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants