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

**URL:** <https://forums.pega.com/t/in-mashup-when-url-encryption-is-enabled-custom-parameters-are-not-getting-passed/7342>\
**Category:** General\
**Tags:** customization, 8-5, security\
**Created:** [June 12, 2024, 11:25am UTC](https://forums.pega.com/t/in-mashup-when-url-encryption-is-enabled-custom-parameters-are-not-getting-passed/7342 "2024-06-12T11:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GarimaM0](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@GarimaM0](https://forums.pega.com/u/GarimaM0)\
**Post date:** [June 12, 2024, 11:25am UTC](https://forums.pega.com/t/in-mashup-when-url-encryption-is-enabled-custom-parameters-are-not-getting-passed/7342/1 "2024-06-12T11:25:00Z")

</div>

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-

> **[Pegasystems Documentation](https://docs.pega.com/bundle/archive/page/archive/topics/archive-directory.htmluser-experience/87/best-practices-using-mashups)**

---

<div class="post-metadata">

**Author:** ![Lukas\_Slamka](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/lukas_slamka/32/3839_2.png) [@Lukas\_Slamka](https://forums.pega.com/u/Lukas_Slamka)\
**Post date:** [June 13, 2024, 7:02pm UTC](https://forums.pega.com/t/in-mashup-when-url-encryption-is-enabled-custom-parameters-are-not-getting-passed/7342/2 "2024-06-13T19:02:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nalls3](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@nalls3](https://forums.pega.com/u/nalls3)\
**Post date:** [June 14, 2024, 6:04pm UTC](https://forums.pega.com/t/in-mashup-when-url-encryption-is-enabled-custom-parameters-are-not-getting-passed/7342/3 "2024-06-14T18:04:48Z")

</div>

@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](https://docs.pega.com/user-experience/86/best-practices-using-mashups)
