[New Feature - Beta] API Connector and OAuth2 APIs

OAuth with Uber - Basic Use Case

  1. Users register and login to my App.
  2. They can book a ride with Uber.

I reviewed the Uber API documentation. The section specific to Authentication with OAuth 2.0 is available here.

I have set up the Bubble API connector:

More about the section marked with a RED box, later in this post.

The user flow for the app is as follows.

  1. User register / login

  2. User clicks on book a ride (OAuth)

Issue #1: Redirect URI setup in Uber.

For the OAuth process to start, I need to append in redirect URI the bubble User ID like so:

Question 1: After the OAuth connection is set up and working, what should I put as the redirect URI in Uber? I’m guessing it should point to the page and I should completely remove any reference to a user.

Success #1: After setting up the redirect as describe above, and configuring the Bubble API connector, the user is redirected to the Uber login page :slight_smile:

Success # 2: Once the user logs into Uber, they are presented with the permission screen. :slight_smile:

Success # 3: Once the user clicks on Allow, the control is passed back to the Bubble

Issue #2: I get the following error, see attached error message and log from debugging tool.

I get this error irrespective of whether the checkbox in Bubble API connector is ticked

or not

As per the Uber OAuth documentation, it supports Basic Auth - though I might be confusing two similar but unrelated things. . .

Any help in troubleshooting this issue would be much appreciated!