Uh oh!
There was an error while loading. Please reload this page.
GH-186 adding full (documented)OAuth2 Support - #224
Conversation
as well as WorskpaceUtil to better support OAuth
* limiting the use of any deprecated (JWT related) API to the bare minimum * adding OAuth sample configuration files * adding OAuth test drive code and docs
…utomated github workflow for now
* added a JwtContext getSystemBuilder utility * better logs and javadocs * fixing IMS integration test when using system env vars
…d API in our sdk * all properties and configMap Workspace and AuthContext loading is now only implemented in `WorkspaceUtil` * leaving the various Builders simple stupid * trimming down the privateKey configurations options to just one: using a base64 encoded pkcs8 format * updating the docs and test drive accordingly * adding a bit for junit coverage
* deleting unnecessary sample configurations files * reverting main pom changes
…ronment and GH oauth e2e
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
as I was at it: * removed a few more `deprecated` methods * consolidated the oAuth and JWT interceptors in just one class
Uh oh!
There was an error while loading. Please reload this page.
| private final String clientSecret; | ||
| private final PrivateKey privateKey; | ||
| public JwtContext(final String credentialId, final String clientSecret, final String technicalAccountId, |
There was a problem hiding this comment.
im confused here. is credential id = client id? and why is that not needed anymore?
There was a problem hiding this comment.
the credentiald
- is not needed to build a JwtContext
- was moved as an optional field of the
Worskspaceclass- as it might be used for other use case (it is used for instance in the events registration v1 api)
OAuth2 Support (#223)OAuth2 Support
Description
co-authored-by: Pulkit Gupta 92841386+pulguptaAdobe@users.noreply.github.com
Related Issue
aemadd OAuth2 Support to ouraembundle #186imsdocumentOAuth2 Server-to-Serversupport and associatedWorkspaceConfigurations #172How Has This Been Tested?
stage_oauth_itestworkflow andaio_stage_oauthenvironment and GH oauth e2eTypes of changes
This PR introduces version
2.0.0with a few breaking changes to reach simplified code and easier API in our sdk:aemadd OAuth2 Support to ouraembundle #186)aio-lib-java-imsAPI:ImsServiceinterface is unified (wether leveraging JWT or oAuth)systemEnv,propertiesandconfigMapBuilders methods are removed and replaced byWorkspaceUtilallowing a safer load of the system properties.imsdocumentOAuth2 Server-to-Serversupport and associatedWorkspaceConfigurations #172)stage_oauth_itestGH workflow andaio_stage_oauthenvironment and GH oauth e2e