authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
909 stars 399 forks source link

[Issue #193] Integrate OAuth2 Authentication into Core Repository #676

Open prayascoriolis opened 3 months ago

prayascoriolis commented 3 months ago

[Issue #193] Implement OAuth2 Authentication in Core Repository

Fixes Issue: 193

PR Branch https://github.com/prayascoriolis/zerocode/tree/ISSUE-193-OAuth2-Support

Motivation and Context

The integration of OAuth2 authentication into the core repository is a key enhancement that will make the library more versatile and secure. By aligning this effort with the successful example from the zerocode-hello-world repository, you are paving the way for a robust authentication mechanism that can be leveraged across various use cases.

PR Description:

This pull request integrates OAuth2 authentication into the core repository. The following tasks have been undertaken:

  1. Created a unit runner class with OAuth2 specification.
  2. Included necessary Java, properties, and JSON files for the custom HTTP client.
  3. Made minor path adjustments in the Java files to ensure successful test execution.

Checklist:

authorjapps commented 3 months ago

@prayascoriolis , can you rebase or merge "master" to this PR branch please?

prayascoriolis commented 3 months ago

@authorjapps i've merged branch "master" to this PR branch.

authorjapps commented 3 months ago

@authorjapps i've merged branch "master" to this PR branch.

ok. Thank you. Let me check if the build gets through(earlier it was stuck due to the Ubuntu image issue from GitHub Actions)

authorjapps commented 3 months ago

You can check here as well @prayascoriolis : https://github.com/authorjapps/zerocode/pull/676/checks

prayascoriolis commented 3 months ago

You can check here as well @prayascoriolis : https://github.com/authorjapps/zerocode/pull/676/checks

Thankyou, @authorjapps, All the checks have passed.

prayascoriolis commented 2 months ago

@authorjapps @nirmalchandra I've completed the end to end implementation of oauth2 access token alog with refresh_token, can you please review it ?