aio-cli-plugin-cloudmanager
aio-cli-plugin-cloudmanager copied to clipboard
fix(auth): add support for OAuth authentication in parallel to JWT
Description
- fixes #676
- upgraded IMS library to 6.5.0 which supports both JWT and OAuth based on config type
- updated e2e tests to include OAuth authentication also
- added validations for OAuth config as well
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [ ] I have signed the Adobe Open Source CLA.
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.67%. Comparing base (
30b3d18
) to head (3a401af
).
Additional details and impacted files
@@ Coverage Diff @@
## main #691 +/- ##
=======================================
Coverage 99.67% 99.67%
=======================================
Files 64 64
Lines 1542 1551 +9
Branches 214 218 +4
=======================================
+ Hits 1537 1546 +9
Misses 5 5
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.