# How to create "Redirect URL for OAuth" in Python?

**URL:** <https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607>\
**Category:** Authentication\
**Created:** [October 11, 2023, 2:57pm UTC](https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607 "2023-10-11T14:57:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moliveira](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/moliveira/32/52926_2.png) [@moliveira](https://devforum.zoom.us/u/moliveira)\
**Post date:** [October 11, 2023, 2:57pm UTC](https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607/1 "2023-10-11T14:57:33Z")

</div>

Can you help me please?  
I need to integrate with Power BI and when creating my application in ZOOM (OAuth 2.0), it asks for a Targeting URL, but I don’t know how I can get this URL.

App Credentials  
Redirect URL for OAuth (Provide the URL where Zoom can send the access token after the user completes the OAuth authentication.)  
But I don’t have it.

Happy me please.

Murilo.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 11, 2023, 4:01pm UTC](https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607/2 "2023-10-11T16:01:17Z")

</div>

Hi @moliveira ,

A redirect url serves the following:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/2/126a3d3e455b133e708d9c0c7bd2e70bd680b1f6.png)

> **[OAuth for user authorized apps](https://developers.zoom.us/docs/integrations/oauth/)**
>
> 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.

If this app is going to be published, you would have a designated url set aside by your company.

If this is a non-publishing app for personal use, you can use [google.com](http://google.com) as a redirect url and it will append the authorization code to the url in the browser for you to continue authentication.

We have a detailed guide on this here: [Guide: Making a Zoom API Call with OAuth Credentials in Postman - #5 by gianni.zoom](https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538/5)

---

<div class="post-metadata">

**Author:** ![moliveira](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/moliveira/32/52926_2.png) [@moliveira](https://devforum.zoom.us/u/moliveira)\
**Post date:** [October 13, 2023, 3:58pm UTC](https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607/4 "2023-10-13T15:58:36Z")

</div>

Is it possible to consume the API without using this return URL? Because I couldn’t get the URL as you said, using Google or the domain. Can you give me another example, please?  
Well, I’m not going to use Postman.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 16, 2023, 5:06pm UTC](https://devforum.zoom.us/t/how-to-create-redirect-url-for-oauth-in-python/96607/5 "2023-10-16T17:06:51Z")

</div>

> [@gianni.zoom](#):
>
> If this is a non-publishing app for personal use, you can use [google.com](http://google.com) as a redirect url and it will append the authorization code to the url in the browser for you to continue authentication.

Hi @moliveira ,

This should work for whatever default browser you’re using. It would pop open a tab with the call back code at the end of the url. Can you make sure allow popups are enabled?
