Running into a little issue that I hope can be solved…
I am trying to build a website that allows my users to connect to their 3rd party account. Each account on the 3rd party website needs to register my app in their account where they are given a unique App ID and App Secret Key.
What I wanted to do was create a page on my site where a user can enter in the App ID and Secret Key that I can use to initiate the oauth2 authorization flow. So each user would have their instance of the API connector that they can use to make calls to their data on the 3rd party site.
Is this possible in Bubble?
I looked into creating a plug-in to do this and that does not seem to give me anything more than the standard API connector plug-in.
Without creating an intermediary webservice as a go between, any suggestions?
Following. I know this is possible, as there’s a place in the settings for just this, and there are a few posts earlier I’ve been trying to follow, but currently stuck.
In general, these flows only need the App ID and Secret to generate a token. From there, all calls use the token. So for the call that generates the token, if you can make the App ID and Secret values dynamic, then you’re in business. You’d save the generated token and then dynamically insert that into the authorization header for all the other calls.
That might be easier said than done if ID and Secret values need to be passed with some encryption though. I’ve done it by running javascript to encode base64. It’s a handful of steps depending on what’s required of the service, but if you want to share the doc of the service you’re using specifically, I can take a look.