| { |
| "bundles": [ |
| { |
| "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": [ |
| { |
| "id":"org.apache.sling.samples/org.apache.sling.samples.oauth.ui.apps/1.0-SNAPSHOT/zip" |
| } |
| ], |
| "configurations": { |
| "org.apache.sling.auth.oauth_client.impl.OidcConnectionImpl~google": { |
| "name": "google", |
| "baseUrl": "https://accounts.google.com", |
| "clientId": "$[secret:google/clientId]", |
| "clientSecret": "$[secret:google/clientSecret]", |
| "scopes": ["openid", "https://www.googleapis.com/auth/youtube.force-ssl"], |
| "additionalAuthorizationParameters": ["prompt=consent"] |
| }, |
| "org.apache.sling.auth.oauth_client.impl.OAuthConnectionImpl~github": { |
| "name": "github", |
| "authorizationEndpoint": "https://github.com/login/oauth/authorize", |
| "tokenEndpoint": "https://github.com/login/oauth/access_token", |
| "clientId": "$[secret:github/clientId]", |
| "clientSecret": "$[secret:github/clientSecret]", |
| "scopes": ["user:email"], |
| "additionalAuthorizationParameters": ["prompt=select_account"] |
| }, |
| "org.apache.sling.auth.oauth_client.impl.JcrUserHomeOAuthTokenStore" : { |
| }, |
| "org.apache.sling.commons.crypto.internal.FilePasswordProvider~oauth": { |
| "path": "secrets/encrypt/password", |
| "fix.posixNewline": true |
| }, |
| "org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomIvGeneratorRegistrar~oauth": { |
| "algorithm": "SHA1PRNG" |
| }, |
| "org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPbeStringCryptoService~oauth": { |
| "names": [ "sling-oauth" ], |
| "algorithm": "PBEWITHHMACSHA512ANDAES_256" |
| } |
| } |
| } |