Uh oh!
There was an error while loading. Please reload this page.
GH-186 adding OAuth2 Support to the aem bundle - #223
Conversation
Recently we upgraded to 1.1.12 version of the sdk and started using com.adobe.aio.auth but we were not able to start our bundle on AEM since the artifact aio-lib-osgi is not exporting this package. Added this package in the export list so that the dependent bundles can access the classes of this package.
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.
OAuth2 Support to the aem bundle
francoisledroff
left a comment
There was a problem hiding this comment.
here is my second review:
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.
francoisledroff
left a comment
There was a problem hiding this comment.
looking good, just a few more requests:
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.
francoisledroff
left a comment
There was a problem hiding this comment.
looking good to me..
we wil try to add intergration test around this for the final PR against main
This PR introduces version `2.0.0` with a few breaking changes to reach simplified code and easier API in our sdk: * added oAuth support in aem (GH-186) * simplified/trimmed-down`aio-lib-java-ims` API: * the `ImsService` interface is unified (wether leveraging JWT or oAuth) * all `systemEnv`, `properties` and `configMap` Builders methods are removed and replaced by * an enriched `WorkspaceUtil` allowing a safer load of the system properties. * with simpler JWT support * trimming down the privateKey configurations options to just one: using a base64 encoded pkcs8 format * updated the various docs and test drive accordingly (GH-172) * updated the various unit-tests and adding a bit for junit coverage * deleted of a few unused configurations files * added a new `stage_oauth_itest` GH workflow and `aio_stage_oauth` environment and GH oauth e2e
The aem Workspace Supplier is missing the OAuth2 support (recently introduced in this sdk).
Added ability for com.adobe.aio.aem.workspace.internal.WorkspaceSupplierImpl to build an OAuthContext and pass it to the Workspace (adding the needed oauth config entries within com.adobe.aio.aem.workspace.ocd.WorkspaceConfig.
https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/#oauth-server-to-server-credential
related issues: #186