# SDK ZOOM UNREAL ENGINE 5.3 INVALID REDIRECT URL error 4007

**URL:** <https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204>\
**Category:** Meeting SDK\
**Created:** [May 3, 2024, 1:53pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204 "2024-05-03T13:53:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkanym](https://avatars.discourse-cdn.com/v4/letter/o/73ab20/32.png) [@okkanym](https://devforum.zoom.us/u/okkanym)\
**Post date:** [May 3, 2024, 1:53pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/1 "2024-05-03T13:53:28Z")

</div>

hello everyone  
we have installed the SDK zoom plugin correctly into unreal engine 5.3  
however we are reaching this process below and there is any indication which redirect URL we have to enter neither who from zoom marketplace and unreal engine to get as we launch the zoom we are getting an error  
INVALID REDIRECT https:// (which url address to enter?) error 4007

Your Marketplace app listing must have the `user_zak:read` scope to log into the sample project. In addition, the **Redirect URL for OAuth** in the Marketplace app listing must match the value of the **Redirect URL** variable in the **Widget Blueprint** of the `ZM_INIT_PKCE_AUTH_WIDGET` in the sample project.

anyone who is working with unreal engine 5.3 and knows those steps that will be amazing

thank you very much  
okkanym

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 3, 2024, 4:34pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/2 "2024-05-03T16:34:51Z")

</div>

@okkanym,

Thanks for posting in the Zoom Developer Forum! Happy to help here, it seems the behavior you are seeing is the result of redirect URL being invalid. Have you verified that the redirect URL in the project matches with the one listed in the marketplace App?

> **[Creating OAuth client apps for users](https://developers.zoom.us/docs/build-flow/create-oauth-apps/#step-2-maintain-basic-information)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/3/83e80266c7dd8b2d8fee9f81c7c6c04e9d83680f.png)

---

<div class="post-metadata">

**Author:** ![okkanym](https://avatars.discourse-cdn.com/v4/letter/o/73ab20/32.png) [@okkanym](https://devforum.zoom.us/u/okkanym)\
**Post date:** [May 3, 2024, 6:55pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/3 "2024-05-03T18:55:38Z")

</div>

Hello Donte  
thank you for responding back to me

this is what we do not get what kind of Redirect URL we have to enter in the project Match?  
basically we have no clue which redirect URL to enter in the unreal project?  
is like company url?  
is it a Zoom URL ?  
is it a predefine URL.?  
is it like [https://www.amazon.com](https://www.amazon.com)?  
is it our webiste url?  
is it an Unreal engine url?

how to set up our OAuth redirect URL? and which one? do we have to invent a url?

thank you for your help

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 3, 2024, 7:36pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/4 "2024-05-03T19:36:18Z")

</div>

@okkanym ,

Please see this post on this topic.

> [@Difference between redirect URL and allow list in app settings](https://devforum.zoom.us/t/difference-between-redirect-url-and-allow-list-in-app-settings/58709/2):
>
> Hi @Septatrix, The Redirect URL is the explicit URL you provide to redirect to upon OAuth authorization. The allowlist section should include your exact redirect URL, as well as any other domains your app may need to access. Thanks, Will

Simply put, the redirect URL directs Zoom to the destination page following user authorization. Upon redirection, a unique code required for requesting the access token is appended to the URL. This code is then used to initiate the request for the Zoom Access token. Here is a Zoom Clip, which shows how the redirect URL is used:

> **[Zoom app creation build flow walk through](https://zoom.us/clips/share/uIy1k9ja5ob6bVRAu4LkkF40b6pzw39mMuFZHNFUcyVMdLXiV2JTqWhy9LPRmcVfpXKck9IlMR3cZz7FHHzMfKgQ.YOF9HWYfOhxJnoBk)**

---

<div class="post-metadata">

**Author:** ![okkanym](https://avatars.discourse-cdn.com/v4/letter/o/73ab20/32.png) [@okkanym](https://devforum.zoom.us/u/okkanym)\
**Post date:** [May 5, 2024, 2:51pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/6 "2024-05-05T14:51:16Z")

</div>

Hello Donte

We sense we resolved it and in fact nope.  
we cannot login from Zoom to unreal engine and Cannot login from unreal to zoom  
due to this unknown RedirectURL situation we are facing

do we have to create an App in the marketplace listing? and which one?  
because Andy Carluccio mention this however does not help us much  
You need to use the redirect URL from your zoom app marketplace listing. It’s one of the fields you filled out when creating the listing.

1 which listing to create?  
2 Where do we create this listing?  
3 Still how do we obtain this REDIRECT URL from login to zoom In unreal engine and from unreal engine to zoom?

We still do not know how you get this REDIRECT URL and Oauth for be able to LOGIN zoom in unreal engine.  
Which REDIRECT URL we need to enter for UNREAL ENGINE to be able to LOGIN  
zoom in unreal engine.

We do not Know which REDIRECT URL we have to enter in unreal engine and there is no one who show this

do you have the answer to this regarding SDK zoom to UNREAL ENGINE 5.3 specifically?

this is very complicated for us as we are not ZOOM developer and work most likely in Unreal engine…

thank you donte

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 6, 2024, 3:46am UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/7 "2024-05-06T03:46:39Z")

</div>

@okkanym ,

Let me try to walk you thru the steps. This is going to be the bare minimum to get your SDK running.  
It is going to be fairly detailed

Essentially to sign in to Zoom SDK on Unreal, you need something called a **ZAK** token, which is used to authenticate the user.

Before we can get this **ZAK** token, we need to call ZOOM REST API to retrieve this. We can use either

- General App, OAuth App (Legacy)
- Server to Server OAuth, or

_Optional details: When to use which? When you have full control of your OWN organization, you will want to use Server to Server OAuth App. If you are trying to get the ZAK token of user which are outside of your organization, you will want to use General / OAuth App (Legacy)_

Since you are asking about **redirect URL** , I’m assuming it is either General App / OAuth App, as **redirect URL** is a unique field for these apps.

What is redirect URL?  
A page where zoom will send the token to after the user gives permission to your retrieve their ZAK.  
Example if my redirect URL is [https://python.asdc.cc/redirecturlforoauth](https://python.asdc.cc/redirecturlforoauth), Zoom will call and append ?code=xxxx to the end of the URL. Something like this [https://python.asdc.cc/redirecturlforoauth?code=xxxx](https://python.asdc.cc/redirecturlforoauth?code=xxxx)

How to get a user’s **ZAK** token?

1. Create an OAuth App / General App
2. Enter a redirect URL

- The redirect URL is a webpage which you are hosting. You need to program custom code to ensure that it takes xxxx from the code querystring [https://python.asdc.cc/redirecturlforoauth?code=xxxx](https://python.asdc.cc/redirecturlforoauth?code=xxxx)

1. Use this code to get an access code (not included in this response as it can be lengthy, but let me know what web programming language you are using)
2. Step 3 returns an access code use this access code to call Zoom REST API, to get the user’s ZAK token.

On the Zoom Meeting SDK for Unreal, enter the ZAK token in the parameters before joining / starting a meeting.

Let me know which steps you are clarification on, I’ll expand on them.

---

<div class="post-metadata">

**Author:** ![okkanym](https://avatars.discourse-cdn.com/v4/letter/o/73ab20/32.png) [@okkanym](https://devforum.zoom.us/u/okkanym)\
**Post date:** [May 7, 2024, 5:44pm UTC](https://devforum.zoom.us/t/sdk-zoom-unreal-engine-5-3-invalid-redirect-url-error-4007/109204/8 "2024-05-07T17:44:48Z")

</div>

hello Chun siong

we have resolve the situation however no explained that the REDIRECT URL you have to enter is actually a website you OWN meaning it is your own website none a random website then it works.

now regarding the ZAK the zoom SDK for unreal engine generate it for you automatically

thank you
