This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/oauth-client-update in repository https://gitbox.apache.org/repos/asf/sling-samples.git
commit 185d9c9bf317a4efb5eb4095e7636e3aa085bfe3 Author: Robert Munteanu <[email protected]> AuthorDate: Wed Jun 25 12:57:27 2025 +0200 chore: upgrade to OAuth Client 0.1.3-SNAPSHOT --- oauth/core/pom.xml | 2 +- oauth/launcher/pom.xml | 11 +++++++++-- oauth/launcher/src/main/features/launcher.json | 6 +----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/oauth/core/pom.xml b/oauth/core/pom.xml index 36867d3..3de01e7 100644 --- a/oauth/core/pom.xml +++ b/oauth/core/pom.xml @@ -157,7 +157,7 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.auth.oauth-client</artifactId> - <version>0.1.1-SNAPSHOT</version> + <version>0.1.3-SNAPSHOT</version> <scope>provided</scope> </dependency> diff --git a/oauth/launcher/pom.xml b/oauth/launcher/pom.xml index 6083ea2..3cb2cac 100644 --- a/oauth/launcher/pom.xml +++ b/oauth/launcher/pom.xml @@ -57,11 +57,18 @@ <aggregate> <classifier>app</classifier> <filesInclude>*.json</filesInclude> + <includeArtifact> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.starter</artifactId> + <classifier>oak_tar</classifier> + <version>13</version> + <type>slingosgifeature</type> + </includeArtifact> <includeArtifact> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.auth.oauth-client</artifactId> - <classifier>app</classifier> - <version>0.1.1-SNAPSHOT</version> + <classifier>main</classifier> + <version>0.1.3-SNAPSHOT</version> <type>slingosgifeature</type> </includeArtifact> </aggregate> diff --git a/oauth/launcher/src/main/features/launcher.json b/oauth/launcher/src/main/features/launcher.json index 3668111..a201ec6 100644 --- a/oauth/launcher/src/main/features/launcher.json +++ b/oauth/launcher/src/main/features/launcher.json @@ -3,10 +3,6 @@ { "id": "org.apache.sling.samples/org.apache.sling.samples.oauth.core/1.0-SNAPSHOT", "start-order": 25 - }, - { - "id": "org.apache.sling/org.apache.sling.auth.oauth-client/0.1.1-SNAPSHOT", - "start-order": 24 } ], "content-packages:ARTIFACTS|required": [ @@ -29,7 +25,7 @@ "tokenEndpoint": "https://github.com/login/oauth/access_token", "clientId": "$[secret:github/clientId]", "clientSecret": "$[secret:github/clientSecret]", - "scopes": ["user:email"], + "scopes": ["openid", "user:email"], "additionalAuthorizationParameters": ["prompt=select_account"] }, "org.apache.sling.auth.oauth_client.impl.JcrUserHomeOAuthTokenStore" : {
