14
Views
1
Comments
NTLM Authentication on Reactive Web App
Application Type
Reactive
Service Studio Version
11.9.1 (Build 33435)

Hi Experts,

Our application need to authenticate users via Active Directory using NTLM. 

I had tried using this method to redirect the user to the integrated login page, using the method that is stated in this URL: https://success.outsystems.com/Support/Enterprise_Customers/Upgrading/Updating_the_login%2F%2Flogout_flows_of_your_Reactive_Web_App_to_support_SAML_2.0

Seems like we are unable to get the logged in UserID and Username after successful authentication.

Is NTLM authentication currently supported by reactive web app?

Is there a workaround in order to support NTLM authentication methods?

Thanks :)

mvp_badge
MVP
Rank: #19

Hi ShiXuan Teng,

You need to configure it in the Users app. For NTLM (and Kerberos), if I'm not mistaken you would use the Active Directory option with Windows Integrated Authentication enabled (and no need for any integrated login page, as the Windows credentials would be automatically used).

This being said, NTLM authentication doesn't seem to be supported for Reactive Apps (as per the first link on this post). Alternatively, you can use Azure AD or SAML 2.0 authentication alternatives and enable the Single Sign-On Between App Types (they require a bit more configuration).

Once that is done, it naturally integrates with the OutSystems User entity, so the system action GetUserId() will return the logged-in user's Id. All user information would be accessible by querying the database GetUser(GetUserId()) would get you the User record of the currently logged-in user.

Hope this helps!