What is the equivalent of OAuth 2.0 in Bubble?

I have this API request working perfectly in Postman, but can’t figure out the correct authorization in Bubble. I tried several of the OAuth flavors, but none of them seem to work. What is the correct authentication setting in Bubble?

@nathanlively not 100% sure, but it looks like this is Bearer token authorization, you can set it up like this for all API calls:

It is also possible to set it up for a specific API-call:

Note 1: Be aware of the space between the text Bearer and the token.

Note 2: When you have tried “several flavors” already, don’t forget mention which flavors, this prevents people from suggestion things you have already tried. :slight_smile:

Best Regards,

Gerbert de Langen
MOG Consultancy B.V.

1 Like

Definitely have a watch of @jacob.gershkovich 's video on OAuth 2.0. Having coded OAuth 2 API integrations, this blew my mind how “easy” this was compared.

2 Likes

And spelling Authorization incorrectly :slight_smile:

But yes, it looks just like a Bearer Token in the header.

And not all that much like Bubble’s OAUTH2 method, which is a bit confusing.

2 Likes

That did it. Thanks!
The ones I tested was everything that starts with OAuth.

2 Likes