[IdP] IdP / IdP Reactive - OriginalUrl dropping parameters

Forge Component
(43)
Published on 5 Jun by Leonardo Fernandes
43 votes
Published on 5 Jun by Leonardo Fernandes

Hello, first of all, thanks for this component, it has been very helpful in enabling access to the platform for our users.

One of the developers on my team was seeing some strange behavior on the final redirect to the OriginalUrl when using IdP component + IdP Reactive component.  It seems that some of the OrginalUrl query parameters were getting dropped (all parameters except the first).

I think this is a simple fix; to URL encode OriginalUrl in the "destination" action that happens at the end of the IdP screen preparation.


and subsequently decode that Url for the link that gets clicked on the IdP Reactive side.


I've tested this out and it seems to work without any side effect.  Obviously I should use some client side function to decode the URL but was in a time crunch to get this smoothed out.

Note: I am on older versions of both components but it looks like the same would apply to the latest versions.

Thanks again