What's the point of the redirect url endpoint => "/api/1.1/oauth_redirect"?

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?

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.

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

1 Like