# What's the point of the redirect url endpoint =\> "/api/1.1/oauth\_redirect"?

**URL:** <https://forum.bubble.io/t/whats-the-point-of-the-redirect-url-endpoint-api-1-1-oauth-redirect/271681>\
**Category:** APIs\
**Created:** [July 9, 2023, 5:27pm UTC](https://forum.bubble.io/t/whats-the-point-of-the-redirect-url-endpoint-api-1-1-oauth-redirect/271681 "2023-07-09T17:27:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckypr1k](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@luckypr1k](https://forum.bubble.io/u/luckypr1k)\
**Post date:** [July 9, 2023, 5:27pm UTC](https://forum.bubble.io/t/whats-the-point-of-the-redirect-url-endpoint-api-1-1-oauth-redirect/271681/1 "2023-07-09T17:27:51Z")

</div>

I’ve built my own oAuth2 flow in Bubble using the API connector.  
I didn’t use the oAuth flow that comes out of the box in the plugin.

But I was wondering what’s the point of this url?  
`https://xx.bubbleapps.io/api/1.1/oauth_redirect`

We can’t set up a workflow on this URL.  
We can’t read its paramters.

I don’t understand its utility. Or am I missing something major? Can someone please educate me on this topic?

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [July 10, 2023, 8:15pm UTC](https://forum.bubble.io/t/whats-the-point-of-the-redirect-url-endpoint-api-1-1-oauth-redirect/271681/2 "2023-07-10T20:15:09Z")

</div>

If you talk about generic url in API Connector oAuth2 User-agent flow, this is usefull to only have 1 url to set into the Service provider for both version test and live and all page.  
You cannot directly access to this endpoint and Bubble will redirect the user to the original page from where the login/signup was triggered.

---

<div class="post-metadata">

**Author:** ![luckypr1k](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@luckypr1k](https://forum.bubble.io/u/luckypr1k)\
**Post date:** [July 11, 2023, 7:56pm UTC](https://forum.bubble.io/t/whats-the-point-of-the-redirect-url-endpoint-api-1-1-oauth-redirect/271681/3 "2023-07-11T19:56:03Z")

</div>

Hey, thanks for your response. I arrived at the same understanding after tinkering a bit more with bubble. Although it would’ve been a cool feature to be able to access the built-in oauth redirect URL
