# Custom url params in forms

**URL:** <https://community.auth0.com/t/custom-url-params-in-forms/181671>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 7, 2025, 2:14pm UTC](https://community.auth0.com/t/custom-url-params-in-forms/181671 "2025-02-07T14:14:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin76](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin76/32/72656_2.png) [@admin76](https://community.auth0.com/u/admin76)\
**Post date:** [February 7, 2025, 2:14pm UTC](https://community.auth0.com/t/custom-url-params-in-forms/181671/1 "2025-02-07T14:14:02Z")

</div>

Can i somehow pass through url variables from login/register screen to a form that is prompted in onExecutePostLogin? i look at various posts and can not even get the “ext-\*” param resolved. I am using express-open-id like:

```auto
	app.get('/login', (req, res) =>
		res.oidc.login({
			returnTo: '/onboarding',
			authorizationParams: {
				redirect_uri: `${baseUrl}/callback`,
				"ext-test": 'test'
			},
		}),
	)

```

if i add this to my universal login template (/api/v2/branding/templates/universal-login): **Value of the ext-test parameter:** {{ transaction.params.ext-test }} its not showing up ?!

Is it not possible to pass through a custom parameter to a form prompt?

---

<div class="post-metadata">

**Author:** ![admin76](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin76/32/72656_2.png) [@admin76](https://community.auth0.com/u/admin76)\
**Post date:** [February 7, 2025, 2:32pm UTC](https://community.auth0.com/t/custom-url-params-in-forms/181671/2 "2025-02-07T14:32:18Z")

</div>

Sorry i figured it out - i had also authorizationParams partly configured in ConfigParams and somehow the merge removed the “ext-test”. this works:

```auto
	app.get('/login', (req, res) =>
		res.oidc.login({
			returnTo: '/onboarding',
			authorizationParams: {
				response_type: 'code',
				scope: 'openid profile email',
				redirect_uri: `${baseUrl}/callback`,
				"ext-test": 'test'
			},
		}),
	)

```

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 7, 2025, 2:35pm UTC](https://community.auth0.com/t/custom-url-params-in-forms/181671/3 "2025-02-07T14:35:29Z")

</div>

Hi @admin76

Welcome to the Auth0 Community!

I’m glad you found the solution, and thank you for sharing it with the rest of the community!

Thanks  
Dawid

---

<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:** [February 21, 2025, 2:36pm UTC](https://community.auth0.com/t/custom-url-params-in-forms/181671/4 "2025-02-21T14:36:08Z")

</div>

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