OAuth with zoom - redirect uri is not used for redirect

Hi, I’m currently working on an OAuth application with Zoom. Here the error occurs that the redirect Uri I specified is not accepted, but I am sent back to the zoom page.

My Request URL: https://zoom.us/oauth/authorize?client_id=XXX&response_type=code&redirect_uri=http://localhost:8080/vccfg/login/oauth2/code/zoom&state=XXX

Location I get send to after the request: http://zoom.us/vccfg/login/oauth2/code/zoom?code=XXX

Screenshot from my browser:

The error only occurs when using “localhost:8080/vccfg/login/oauth2/code/zoom” as redirect uri. As soon as an external redirect uri like “XXX.xxx/vccfg/login/oauth2/code/zoom” is used the redirect works correctly.

Is there an explanation or solution for this behavior?

Hey @ohagen,

This thread may help you.

Hi @tommy,

thanks for the reference.

I could solve the problem by replacing localhost:8080 with 127.0.0.1:8080.

Hey @ohagen,

Happy to help!

Does that solution work for you?