SDK ZOOM UNREAL ENGINE 5.3 INVALID REDIRECT URL error 4007

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

@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?

1 Like

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?
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

@okkanym ,

Please see this post on this topic.

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:

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

@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, Zoom will call and append ?code=xxxx to the end of the URL. Something like this 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
  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.

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

1 Like