Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Pega PRPC to Adobe Experience Manager (as Cloud Service ) Sandbox Authentication

Avatar

Level 3

Hi All,

 

Your help would be highly appreciated on this please.

 

I am looking to connect Pega to AEM sandbox(on cloud service provide by adobe). It seems that it dont accepts basic authentication admin/admin and need JWT token authentication only (either JWT bearer or OAuth). I am seeing there is no enablement of 

 

adobe sand box dev console 
 
We see that  Service-Component: OSGI-INF/com.adobe.granite.oauth.server.scopes.impl.ProfileScope.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2AuthorizationEndpointServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2AuthorizationServerImpl.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2ResourceServerImpl.xml, OSGI-INF/com.adobe.granite.oauth.server.scopes.impl.OfflineAccessScope.xml, OSGI-INF/com.adobe.granite.oauth.server.scopes.servlets.impl.ProfileServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2ClientRevocationServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuthClientPostProcessor.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2TokenEndpointServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2TokenRevocationServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2AuthorizationCodeIssuer.xml, OSGI-INF/com.adobe.granite.oauth.server.scopes.impl.ReplicateScope.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.AccessTokenCleanupTask.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuth2RevocationEndpointServlet.xml, OSGI-INF/com.adobe.granite.oauth.server.auth.impl.OAuth2ServerAuthenticationHandler.xml, OSGI-INF/com.adobe.granite.oauth.server.impl.OAuthServletContext.xml",
    "        Component # com.adobe.granite.oauth.server.auth.impl.OAuth2ServerAuthenticationHandler, state disabled",
 
So looks like OAuth2 Authentication is disabled on these instance , could you help me to get this Authentication setting enabled,please ? 
 
There is no access to Tools > Web Console provided to Adobe partners on these sandboxes. not sure how should i enable this OAuth then I believe it is disabled by default.
 
Please let me know in perspective of Adobe AEMaaCS as this seems very restricted.
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@gauravtyagi  For AEM as a Cloud Service, you would have to use developer token or service based credentials as mentioned here:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/a...

View solution in original post

3 Replies

Avatar

Level 3
Hi @Ritesh_Mittal, actually Adobe sandbox provisioned by Adobe does not seem to support basic authentication, we tried to give admin/admin or my adobe Id but it does not accept it . Our own AEM instance on AWS worked fine with basic authentication but seems adobe sandbox will only support oauth or jwt token based authentication. and I think OAuth is disabled on sandbox without any clear way to change it to enabled. So it is kind of deadlock situation for Adobe provisioned Sanbox

Avatar

Correct answer by
Community Advisor

@gauravtyagi  For AEM as a Cloud Service, you would have to use developer token or service based credentials as mentioned here:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/a...