Note: I am an amateur developer, so this maybe all incorrect. Use at your own risk.
I'm building a project on Bubble and I wanted to get the single sign on set up so that users of my site sign up they are also automatically signed up to my Peerboard.
Here are two big things I learned:
- You can setup and debug your API calls within the Peerboard API documentation. Just paste your authorization at the top and then each section has a place where you can test your calls.
- Postman is another great tool for debugging API calls.
Here's how I have the calls set up in API connector.
I still have some challenges I haven't worked out. For example, if you have Add New User to Peerboard as part of your new user Sign Up workflow in Bubble and for some reason that new user has already joined your Peerboard, then the API call will return an error and break the workflow. The workaround I am using is to put the workflow on the backend so at least if it throws an error it won't break the workflow and alert the user. My understanding is that Bubble does not handle API errors very well.