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

Avatar

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

25 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

25 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile
gauravtyagi
Level 2

23-06-2021

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

246 likes

Total Posts

409 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

246 likes

Total Posts

409 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile
shelly-goel
MVP

26-06-2021

@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...

Avatar

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 7

23-06-2021

Hi @gauravtyagi ,

 

Do you think service credentials will help here?

 

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

 

Though I see there is an AEM connector which supports basic authentication, but since you had already tried and facing issues-

https://community.pega.com/knowledgebase/documents/adobe-experience-manager-connector-pega-marketing...