# OAuth Redirect URL query parameter lost after user login

**URL:** <https://devforum.zoom.us/t/oauth-redirect-url-query-parameter-lost-after-user-login/13765>\
**Category:** API and Webhooks\
**Created:** [April 18, 2020, 12:48am UTC](https://devforum.zoom.us/t/oauth-redirect-url-query-parameter-lost-after-user-login/13765 "2020-04-18T00:48:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 20, 2020, 4:33pm UTC](https://devforum.zoom.us/t/oauth-redirect-url-query-parameter-lost-after-user-login/13765/2 "2020-04-20T16:33:22Z")

</div>

Hey @johnrix,

Query params are not supported in redirect urls currently. You will need to utilize the `state` query param, and then do any further redirects / logic on your redirect url page.

> [@Client ID not being recognised](https://devforum.zoom.us/t/client-id-not-being-recognised/5704/8):
>
> Hey @rich, Here is whats happening, in your app dashboard you have https://dev.thetherapy.space/\_ajax/?ajax\_response=oauth&model=zoom&componentID=external\_connections as your redirect url. Then when you go to authorize your app: https://zoom.us/oauth/token?grant\_type=authorization\_code&code=6Y6x0lVGDt\_XXXMxyKRRhOz1obX4Z0I6g&redirect\_uri=https://dev.thetherapy.space/\_ajax/?ajax\_response=oauth&model=zoom&componentID=external\_connections Zoom handles your &model=zoom&componentID=external\_conn…

[https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token)

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/oauth-redirect-url-query-parameter-lost-after-user-login/13765)._
