Hi All,
May I know does there any way to config different IDPs for different applications in the same environment?
Such as in applicaiton1 I want to use AAD1 to do the authentication, and in application2 I want to use google accounts to do the authentication for my customers.
Is it possiable without change the IDP application? Only do some config in the OIC portal?
Thanks.
Hello @Ivan Liu,
in ODC you can configure as many idp's as you need in the Portal. Then one way of doing this is, is in the apps you define a setting like ipdName etc. (this way you can change it during run-time). Give this setting a value of the name of the idp you wish to use. You defined the name when you were configuring the idp in the Portal.
Then in the app, on login, fetch that value from the setting and use the value in the getExternalLoginURL-action and redirect there. Different apps can have different idp's and even the same app can have different idp's in different stages.
Br,
Jenni S.
Hi @Ivan Liu!
I will assume that you are working in react application on O11.
If you use the IdP component https://www.outsystems.com/forge/component-overview/599/idp-o11 you can config different IDPs. In code, when you call the GetLoginURL, you have a parameter SAMLAppName to pass the "App Config Name" and can define for each application.
Hi Eduardo,
Thanks for your reply.
I am currently concerned about login issues for the ODC version. And I just want to confirm whether there one way to setting it in ODC portal. Or I must use IDP component to set them for different application?
Regards.
Hi @JenniS ,
I already complete it and pass test use the same way.