Hi,
In AEMAACS, we are using Authentication Handler for OIDC Based authentication and authorization.
Limitation being we do not want to create users in AEM (post-authentication) but need to do authorization to allow access to pages based on user groups.
If anyone has implemented this, any inputs would be helpful.
Thanks & Regards,
Vishal Jain
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@Vishal_Jain03 Approach3: If you don't want to create test user, you can merge both approaches. Instead of setting login-token in response object, set JWT header. Once the custom auth handler code completes then request will come to sling filter with valid JWT header. Validate the JWT and user group access and then do filter the request. For this also you need to turn off authentication requirements in ConfigMgr.
I have implemented Approach1 earlier and it was working fine but problem with no of users.
Thanks,
Ramesh.
Hi @Vishal_Jain03 ,
Do not want to create users in AEM -- This means without creating user sessions programmatically, you want to access AEM pages. If your pages are secured and you want to authorize them based OIDC then, there are two ways for this.
Thanks,
Ramesh.
@Vishal_Jain03 Approach3: If you don't want to create test user, you can merge both approaches. Instead of setting login-token in response object, set JWT header. Once the custom auth handler code completes then request will come to sling filter with valid JWT header. Validate the JWT and user group access and then do filter the request. For this also you need to turn off authentication requirements in ConfigMgr.
I have implemented Approach1 earlier and it was working fine but problem with no of users.
Thanks,
Ramesh.
Hi @Uppari_Ramesh
Thank you for your quick reply, we will try above mentioned approaches, if any question we will ping you.
Thanks & Regards,
Vishal Jain