Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

How to integrate AEM with Amazon Cognito?

Avatar

Level 6

The signin/signup forms as AEM pages and Cognito as user pool.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @jezwn,

As a first step of integrating, I suggest to go through libraries/framework exposed by Amazon Cognito User pool.

Per the below documentation from AWS, AWS Amplify framework is available for JavaScript, iOS and Android.

As you are looking for signin/signup pages, JavaScript library seems to be relevant. You can follow along the link and try out in local as is and based on the desired JS framework chosen, you can then arrive at ways of including it as part of AEM code build.

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hi @jezwn,

As a first step of integrating, I suggest to go through libraries/framework exposed by Amazon Cognito User pool.

Per the below documentation from AWS, AWS Amplify framework is available for JavaScript, iOS and Android.

As you are looking for signin/signup pages, JavaScript library seems to be relevant. You can follow along the link and try out in local as is and based on the desired JS framework chosen, you can then arrive at ways of including it as part of AEM code build.

Avatar

Level 4

This doesn't resolve the JWT token/AEM scope setup. If we login and generate JWT token from one server, how can AEM as second server to retrieve the JWT token and use any library(jsonwebtoken? or AEM oauth client) to validate, if success, get user's some profile to map using scope to authorize the user to access some AEM features?

How to manage the AEM scopes in a managabled way like the useradmin console to manage which user/group has which permission?

Do you have a sample application?

Avatar

Level 1

Hi David,

Were you able to find any alternate solutions?

Avatar

Level 1

hi @jezwn 

Did you get a solution for AWS Cognito & AEM Integration?

I am exploring a similar solution, and would need some help.

Avatar

Level 1

Hi together. That should be a relevant use case for many customers. It makes sense to provide proper documentation or even a sample application. Happy to look for som response.

Thanks
Dennis