Expand my Community achievements bar.

How to authenticate login form in adobe app builder

Avatar

Level 3

ShubhamAg2_0-1729486876646.png

I have no idea how to authenticate the login form. For example, I created an action name brief-save in which I took the user's information as an object, but now I have no idea how to fetch that data from that action on this login page and authenticate it. Or there is another way of doing it

2 Replies

Avatar

Employee

Are you asking how to pass the username/password from the UI input to the action itself and wait for the auth response?

Avatar

Level 6

Where are you authenticating user against? Are the users created into Adobe IMS through some batch process? One solution we implemented was using SAML over ADFS. So internal users are part of organization active directory. The homepage of react app running from AppBuilder is proxied at AEM Dispatcher. The Dispatcher sends the initial request to AEM Publisher. AEM has SAML configuration to connect to organization ADFS. So user is taken to office365 login screen. Once logged in, dispatcher proxies the request to AppBuilder and react app is served. We didn't build login screen, instead reused saml login.

 

If your user accounts are not in active directory, this wont work.