Seamlessly authentication between Mendix and Okta-Saml.
We always get the question about SSO since there are a lot of applications in an organization. Today, i want to share an easy way to make every apps can be able to access without second or third login
The scenario includes Okta-Saml as an Idp, and 2 Mendix Apps with SAML configuration.
Create app1 and app2 in Mendix. Both are run on local machine, you can specific runtime like localhost:8081 for app1 and localhost:8082 for app2.


Add an SAML Module into 2 apps. You can load via mendix appstore

Run mendix app and follow deep link documentation to config on start up.
Set up SP Metadata, some of idp may need application metadata for adding the application on their dashboard

Need to get the metadata from idp and import into idp configuration menu. Then activate it.
Now go to okta admin page add 2 apps with url point to SP configuration with /SSO/SAML
Then it will provide back the configuration such as certificate and SSO url.

In order to make application can able to connect to each other, you must set self service option in okta

Without check box option above, you can not able to add apps into Available Apps.

After these configuration, you can switch apps between each other without login again.
For a custom web application such as node.js and express.js. The certificate and endpoint service need to be add in configuration.