# \[@auth0/nextjs-auth0\] Custom headers or query parameters on server-side requests

**URL:** <https://community.auth0.com/t/auth0-nextjs-auth0-custom-headers-or-query-parameters-on-server-side-requests/151193>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [November 8, 2024, 12:26pm UTC](https://community.auth0.com/t/auth0-nextjs-auth0-custom-headers-or-query-parameters-on-server-side-requests/151193 "2024-11-08T12:26:30Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 12, 2024, 3:03pm UTC](https://community.auth0.com/t/auth0-nextjs-auth0-custom-headers-or-query-parameters-on-server-side-requests/151193/9 "2024-12-12T15:03:56Z")

</div>

Hi @lvilasboas-dti,

Apologies for the delay here - I just heard back from the team. Regarding custom headers/query parameters on server-side requests:

- **custom headers** : they are ignored
- **custom query params** : they ignored for `/token` endpoint. They can be used on `/authorize` and then can be incorporated into New Universal Llgin templates if they include `ext-` prefix. Read [this](https://auth0.com/docs/customize/login-pages/universal-login/customize-templates#custom-query-parameters). Available in postLogin event.request.query for calls to `/authorize`
- **custom body params** : they are available in postLogin and M2M `event.request.body` in Actions

Thanks,

Mary Beth

---

_[View the full topic](https://community.auth0.com/t/auth0-nextjs-auth0-custom-headers-or-query-parameters-on-server-side-requests/151193)._
