# Passing custom values from Universal Login template to Actions

**URL:** <https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [October 15, 2025, 4:04pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227 "2025-10-15T16:04:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleksii.voitenko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oleksii.voitenko/32/72176_2.png) [@oleksii.voitenko](https://community.auth0.com/u/oleksii.voitenko)\
**Post date:** [October 15, 2025, 4:04pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/1 "2025-10-15T16:04:47Z")

</div>

Hi all,

I am collecting the user input from the custom dropdown HTML element in the sign-up form using the Universal Login template. So i can access this value in the pre-user-registration action:

```auto
exports.onExecutePreUserRegistration = async (event, api) => {
  api.user.setUserMetadata("some-custom-info", event.request.body["ulp-dropdown-element"]);
};

```

But this value in the request body is not available in post-login action. This is an issue in my case because i am using both email-password and social providers and pre-user-registration action is not being involved when the user is being created with the social provider.

Is there any way to get access the value in the custom HTML element in the post-login action?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 16, 2025, 3:08pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/3 "2025-10-16T15:08:48Z")

</div>

Hi @oleksii.voitenko

Welcome to the Auth0 Community!

Please allow me some time to look into it and I will be back with more information as soon as possible.

Thank you!  
Gerald

---

<div class="post-metadata">

**Author:** ![oleksii.voitenko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oleksii.voitenko/32/72176_2.png) [@oleksii.voitenko](https://community.auth0.com/u/oleksii.voitenko)\
**Post date:** [October 28, 2025, 3:46pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/4 "2025-10-28T15:46:48Z")

</div>

Hi @gerald.czifra, any updates so far? I’d love to provide you with any additional info if needed.

---

<div class="post-metadata">

**Author:** ![oleksii.voitenko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oleksii.voitenko/32/72176_2.png) [@oleksii.voitenko](https://community.auth0.com/u/oleksii.voitenko)\
**Post date:** [January 12, 2026, 11:38am UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/5 "2026-01-12T11:38:33Z")

</div>

Hi @gerald.czifra , do you need anything specific from me to proceed? This issue is still relevant.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [January 12, 2026, 10:01pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/6 "2026-01-12T22:01:14Z")

</div>

Hi @oleksii.voitenko

Thank you for reaching out on this matter!

I do apologise for the late reply, but reading through your use-case, I believe that our [Forms](https://auth0.com/docs/customize/forms) feature is the only suitable option that covers the desired flow.

This feature allows for progressive profiling and adding the gathered information about the user into their metadata as required. You can configure the Form to trigger for Social Connections in order to gathered the missing information and continue using the Pre-User Registration Action for the all other cases that do trigger this Action type.

Please allow me to share some documentations that should cover your use-case and help with the development and implementation on your end:

- [Use Cases: Configure additional signup steps using Forms](https://auth0.com/docs/customize/forms/configure-additional-signup-steps);
- [Render Forms using Actions](https://auth0.com/docs/customize/forms/render);
- [Pass Data Between Actions and Forms](https://support.auth0.com/center/s/article/pass-data-between-actions-and-forms);
- [Passing a Custom Field in the Forms from Actions](https://support.auth0.com/center/s/article/Email-URL-encode-function-for-Forms-for-Actions).

At this moment the Forms feature would be the go-to option for covering the use-case that you are facing, as we currently do not have a different offering that can achieve the same result.

Hopefully this can work as intended and cover your needs, but please let us know if you require any further assistance on this matter and we’ll gladly look into it for you.

Thank you for your patience!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 26, 2026, 10:01pm UTC](https://community.auth0.com/t/passing-custom-values-from-universal-login-template-to-actions/193227/7 "2026-01-26T22:01:30Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
