In mashup when url encryption is enabled, custom parameters are not getting passed

We have the requirement to encrypt the url, in mashup and also we have to pass the case id to load the page in mashup, but when I enable encrypt url, the parameter is not getting pass and a blank screens gets loaded.

I have tried the below given approach but its not working-

@GarimaM0 I am dealing with same situation. If you find some answer, please comment it here.

@GarimaM0

When using encrypted URL and want to pass dynamic parameters, then we need to use pega.web.api.setAuthenticationParameters to add params to mashup.

https://docs.pega.com/user-experience/86/best-practices-using-mashups