[IdP] How to implement IdP on Reactive Web Apps
Forge component by Rui Barbosa
Application Type
Reactive
Service Studio Version
11.11.8 (Build 45664)
Platform Version
11.12.0 (Build 29969)

We need some guidance on how to implement IdP (SAML2.0 - ADFS) on Reactive Web Apps(RWA). Current version of the component release notes says that it supports RWA but there is no documentation or demo on the implementation(login and logout flows).

Solution

In case you are using a version before Platform Server 11.10.0, I suggest you use the Idp React component.
If you are on Platform Server 11.10.0+ you can simply enable the Single sign-on between app types and just use the normal Idp Server actions as if it was a traditional Web app.

When passing the OriginalURL to the IdP server action, make sure you get that URL from the client-side and not inside of a server action on your React application, otherwise using things like the "GetBookmarkableURL()" will return the URL of the built-in rest endpoint that the platform generates when calling the server action instead of the actual page you want to redirect to after login/logout

Hope this helps,

Thank you, João.


Thanks for responding, Amit. This document only shows Traditional Web but not Reactive Web.

mvp_badge
MVP

Hi Akshay,

Have you tried Idp React from forge. This is build using Idp and also has a demo.

Solution

In case you are using a version before Platform Server 11.10.0, I suggest you use the Idp React component.
If you are on Platform Server 11.10.0+ you can simply enable the Single sign-on between app types and just use the normal Idp Server actions as if it was a traditional Web app.

When passing the OriginalURL to the IdP server action, make sure you get that URL from the client-side and not inside of a server action on your React application, otherwise using things like the "GetBookmarkableURL()" will return the URL of the built-in rest endpoint that the platform generates when calling the server action instead of the actual page you want to redirect to after login/logout

Hope this helps,

Thank you, João.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.