# Send custom parameters using loginWithRedirect to onExecutePostLogin action

**URL:** <https://community.auth0.com/t/send-custom-parameters-using-loginwithredirect-to-onexecutepostlogin-action/110094>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [June 27, 2023, 5:32pm UTC](https://community.auth0.com/t/send-custom-parameters-using-loginwithredirect-to-onexecutepostlogin-action/110094 "2023-06-27T17:32:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![M0vio5GVGU](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@M0vio5GVGU](https://community.auth0.com/u/M0vio5GVGU)\
**Post date:** [June 27, 2023, 5:32pm UTC](https://community.auth0.com/t/send-custom-parameters-using-loginwithredirect-to-onexecutepostlogin-action/110094/1 "2023-06-27T17:32:31Z")

</div>

Hi folks,

I need to send custom parameters when users log in via `loginWithRedirect` to make a backend call from our custom `onExecutePostLogin`, but I could not find a way to do that.

Is that use case supported?  
If so, how can It be implemented?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 27, 2023, 6:09pm UTC](https://community.auth0.com/t/send-custom-parameters-using-loginwithredirect-to-onexecutepostlogin-action/110094/3 "2023-06-27T18:09:08Z")

</div>

Hi @M0vio5GVGU,

Welcome to the Auth0 Community!

You should be able to get the query parameters from the login request in a Post-Login Action by calling [`event.request.query`](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow/event-object#:~:text=for%20the%20request-,query,-Dictionary.%20The).

This should include all of your query parameters in the `/authorize` request.

Does that help?

Thanks,  
Rueben

---

<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:** [July 11, 2023, 6:09pm UTC](https://community.auth0.com/t/send-custom-parameters-using-loginwithredirect-to-onexecutepostlogin-action/110094/4 "2023-07-11T18:09:19Z")

</div>

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