Hi Rama,
In my view, It is possible to use LDAP or a single sign-on (SSO) solution such as Okta to authenticate users on both the AEM Author and AEM Publish environments.
In the case of the AEM Author environment, where the users are typically employees of the organization, LDAP or SSO can be used to authenticate users against the organization's directory service or identity provider. This can simplify the process of managing user accounts and permissions, and ensure that only authorized users have access to the AEM Author environment.
In the case of the AEM Publish environment, where the users are typically external customers or clients, it may not be practical to use LDAP or SSO for authentication. Instead, it may be necessary to use other methods of authentication, such as a custom login form or an external authentication service, to authenticate users on the AEM Publish environment.
It is important to consider the specific needs and requirements of the organization when deciding how to authenticate users on the AEM Author and AEM Publish environments. The use of LDAP or SSO may not be relevant or necessary in all cases, and it may be necessary to use other methods of authentication depending on the needs of the organization and the users accessing the AEM environments.
Cheers,
Monendra