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

feature: WEOS-1343 Create middleware for handling JWT in the incoming Authorization header #99

Merged
merged 6 commits into from
Feb 17, 2022

Conversation

shaniah868
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?
    There is an authentication middle-ware that handles the jwt tokens

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

shaniah868 and others added 4 commits February 14, 2022 21:11
… Authorization header

-Regenerate mocks
-Registered Authorization Middleware
-Added test for authorization middleware
-Added some functionality to Authorization
-Made a new yaml file for security testing
… Authorization header

-Moved authorization middleware to standard controller file as well as test to that test file
* Moved the client lib setup to outside the middleware func
* Updated test to use test keys for an unused account (develoeprs needs to have an environment variable OAUTH_TEST_KEY. This is set in the pipeline)
… Authorization header

-Added the correct openidconnecturl in the test yaml file
-Added X-USER-ID contextkey
-Added a securitycheck flag
-Added a for loop for getting the security schemes
…ware on operation

-Added an extension for skipexpirycheck
-Added code to set the skipexpirycheck
-Added validation check for the openidconnecturl
@atoniaw atoniaw merged commit 6bc3d91 into feature/WEOS-1343 Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants