# Code / State Params in URL after login

**URL:** <https://community.auth0.com/t/code-state-params-in-url-after-login/117723>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [October 3, 2023, 9:08pm UTC](https://community.auth0.com/t/code-state-params-in-url-after-login/117723 "2023-10-03T21:08:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![owex](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/owex/32/51358_2.png) [@owex](https://community.auth0.com/u/owex)\
**Post date:** [October 3, 2023, 9:08pm UTC](https://community.auth0.com/t/code-state-params-in-url-after-login/117723/1 "2023-10-03T21:08:57Z")

</div>

When i login code and state are present in the URL is this something i can disable / hide? e.g.

/?code=-xuhcwuhcwu&state=lcpcke0ce9ce9ce

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 4, 2023, 9:36pm UTC](https://community.auth0.com/t/code-state-params-in-url-after-login/117723/3 "2023-10-04T21:36:08Z")

</div>

Hey there @owex welcome to the community!

Both the `code` and `state` params are fundamental to the the authorization code flow and thus can’t be disabled and/or hidden.

---

<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:** [December 22, 2023, 11:52pm UTC](https://community.auth0.com/t/code-state-params-in-url-after-login/117723/4 "2023-12-22T23:52:34Z")

</div>

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