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
BedrockMission!

Learn More

View all

Sign in to view all badges

Post-login page authentication in SPA editor

Avatar

Avatar
Level 1
phychem_ad
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
phychem_ad
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
phychem_ad
Level 1

27-05-2021

Hi - i want to implement a member portal using AEM with SPA Editor.  Members will need to be authenticated based on external identity provider like Okta.

 

To elaborate the case a bit,

1. user will login via a landing page.  This page will be a pre-login page, where it'll just show some about the company details.  This we know we can implement in AEM with an SPA editor mode as well.

2. when user clicks login, he/she will be redirected to an external IdP (Okta), to authenticate, upon successful authentication, an OAuth token will be returned.

3. user will land on a "my profile" page, where it will say "Hello, member name" which will be based on the returned token's info.

 

few questions:

1. any special setup i need to do when setting up the IA in AEM?  do i need to set the "my profile" page as an authenticated page? 

2. for example the "my profile" page, will SPA Editor still work in the post login case? are we able to allow the authors edit the "my profile" page for example?

3. after they login, will it create an AEM member profile? Is that mandatory? or can we just leverage say the JWT token in the session to manage post login behaviours? like normal web apps?

oauth post-login SPA SPA Editor SSO

Accepted Solutions (0)

Answers (0)