I Use SAML IdP on a reactive web app and I want to write logs for every user that performs login to the app.Since I don't use the default DoLogin action because I redirect to an external login page, I need to know where can I put the action that writes the logs I need for every login.
Maybe someone here encountered this issue before?
P.S I know I can access the SAML logs directly In the Service Center, but this is not what I'm looking for
To log user logins in a reactive web app using SAML IdP without using the default DoLogin action in OutSystems, you can create a custom logging mechanism that is triggered whenever a user successfully logs in via SAML.
Steps to Implement Custom Login Logging with SAML IdP
Create a Custom Server Action for Logging:
Trigger Logging After SAML Authentication:
Customize the SAML Authentication Flow:
Add Logging in the SAML Response Handling:
Ensure SAML Response Handling: