# Zoom oauth app authorize api redirects to Login page

**URL:** <https://devforum.zoom.us/t/zoom-oauth-app-authorize-api-redirects-to-login-page/72462>\
**Category:** Authentication\
**Created:** [July 19, 2022, 8:19am UTC](https://devforum.zoom.us/t/zoom-oauth-app-authorize-api-redirects-to-login-page/72462 "2022-07-19T08:19:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunil.kumar](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sunil.kumar](https://devforum.zoom.us/u/sunil.kumar)\
**Post date:** [July 19, 2022, 8:19am UTC](https://devforum.zoom.us/t/zoom-oauth-app-authorize-api-redirects-to-login-page/72462/1 "2022-07-19T08:19:42Z")

</div>

Hello,

I am trying to use an api to authorize and to get authorize code, but instead i am redirected to Login page.

Am initiating the call from a web api on local host, and the redirect URL is on the server.

The URL I am using is copied from the App’s Add button link and it works fine when i click on the add button in the site and returns a code.

Request for help to resolve this issue
