How to integrate AEM with Amazon Cognito? | Community
Skip to main content
jezwn
Level 5
September 8, 2020
Solved

How to integrate AEM with Amazon Cognito?

  • September 8, 2020
  • 4 replies
  • 3033 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijayalakshmi_S

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.

4 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
September 9, 2020

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.

Level 4
February 26, 2023

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?

April 25, 2023

Hi David,

Were you able to find any alternate solutions?

April 25, 2023

hi @jezwn 

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

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

April 27, 2023

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