# Referrer url as redirect url for OAuth flow

**URL:** <https://devforum.zoom.us/t/referrer-url-as-redirect-url-for-oauth-flow/24754>\
**Category:** API and Webhooks\
**Created:** [July 21, 2020, 1:35pm UTC](https://devforum.zoom.us/t/referrer-url-as-redirect-url-for-oauth-flow/24754 "2020-07-21T13:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul8](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rahul8](https://devforum.zoom.us/u/rahul8)\
**Post date:** [July 21, 2020, 1:35pm UTC](https://devforum.zoom.us/t/referrer-url-as-redirect-url-for-oauth-flow/24754/1 "2020-07-21T13:35:50Z")

</div>

**Description**  
As I understand it, to get authentication to create meetings for a user of my app, they need to give permissions through OAuth flow. I would like to provide the referring URL as the redirect URL to get the code at and redirect a user to. Can that be done?

If not, could I finish the auth flow server-side by providing an API endpoint?

If not, could I just open another tab for the user while keeping the user on the referring page?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth. I believe I need a user app.

**Additional context**  
I am being provided an installation link by zoom when trying to create a user app – is that what a user needs to click to authorize my app’s account to create a meeting? I don’t see anything that describes completion of the app creation on Zoom.

---

<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:** [July 23, 2020, 10:05pm UTC](https://devforum.zoom.us/t/referrer-url-as-redirect-url-for-oauth-flow/24754/3 "2020-07-23T22:05:18Z")

</div>

Hey @rahul8,

If I understand correctly, you will want to use the state query param in the authorize flow:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth#advanced)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

Thanks,  
Tommy
