Invalid Redirect(4700) Error when OAuth flow - not redirecting to django url

Format Your New Topic as Follows:

OAuth Redirect URL https://vroombaby.com/oauth/callback
:magnifying_glass_tilted_left: Debug: OAuth URL -> https://zoom.us/oauth/authorize?response_type=code&client_id=qZ1AcO6JRNWKkk89GDrNMA&redirect_uri=https://vroombaby.com/oauth/callback&scope=meeting:write&state=STATE

Description
I’m creating swift app with zoom meeting sdk and trying to authenticate via zoom. I setup General app 331 with OAuth Information
Development
OAuth Redirect URL

I made sure callback url is correctly setup. I don’t see callback in xcode or django logs. Only thing I see in xcode is

I tested via curl and browser

I do see django logs

DEBUG 2025-02-02 02:20:26,566 views :white_check_mark: Incoming OAuth callback request
DEBUG 2025-02-02 02:20:26,567 views Incoming request: <WSGIRequest: GET ‘/oauth/callback?co
de=TEST_CODE’>
DEBUG 2025-02-02 02:20:26,567 views Request method: GET
DEBUG 2025-02-02 02:20:26,568 views Request GET data: <QueryDict: {‘code’: [‘TEST_CODE’]}>

‘172.71.158.25’, ‘X-Forwarded-For’: ‘2607:fb90:9e32:4831:c8c0:c4d:8ccb:5ef1, 172.71.158.25
‘, ‘X-Forwarded-Proto’: ‘https’, ‘Connection’: ‘close’, ‘Cf-Ray’: ‘90b6b3b69827fa96-SJC’, ’
Cf-Connecting-Ip’: ‘2607:fb90:9e32:4831:c8c0:c4d:8ccb:5ef1’, ‘Accept-Encoding’: ‘gzip, br’,
‘Accept’: ‘/’, ‘Cf-Ipcountry’: ‘US’, ‘Cf-Visitor’: ‘{“scheme”:“https”}’, ‘User-Agent’: ’
curl/8.6.0’, ‘Cdn-Loop’: ‘cloudflare; loops=1’}
DEBUG 2025-02-02 02:20:26,568 views Received code: TEST_CODE
DEBUG 2025-02-02 02:20:26,568 views Received error: None
INFO 2025-02-02 02:20:26,568 views :white_check_mark: Authorization Code Received: TEST_CODE
DEBUG 2025-02-02 02:20:26,568 views Redirecting to Swift app: coffeeChat://oauth/callback?c
ode=TEST_CODE

So django callback url is set correctly and I see logs but some reason zoom isn’t redirecting and giving 4700 error.

Error?
Oops! We were unable to complete your request. Please try again. (4700)

Debugging futher I see there are below options in Build your app → Features - > Surface . I updated as below but same issue. Maybe it takes some time to update?
Home URL
Provide a URL to your app’s home page.
`

> https://vroombaby.com/

`

Domain Allow List
URLs added here are to be accepted by the native Zoom Client.
vroombaby.com

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