Skip to main content
OutSystems

How to use SAML for two-factor SSO logins

Question

How to add two-factor authentication to an application?

In particular, I would like to integrate with a Single Sign-On (SSO) provider using Security Assertion Markup Language (SAML).

Answer

Use the extension capabilities of OutSystems Platform to implement the following two use cases.

  1. User connected to Identity Provider with a valid SSO session.
  2. User connected to Identity Provider without a valid SSO session.

unnamed.png

unnamed (1).png

More information

OutSystems Forge has two components of interest:

  • The forge component componentSpace implements the solution based on commercial software by componentSpace.
  • The component IDPConnector parses the SAML response to partially implement the desired behavior. The component could be an inspiration for a custom solution.