Hi bubble folks,
I’m working on a Canva App that allows my bubble app users to connect with their account and access videos stored. I have an error at the last step I can’t figure out.
The sequence looks like this:
- User opens Canva Ap and clicks Connect to intiate an authorization
- Window popups with my bubble app login screen
- User logins ok and Bubble redirects back to the Canva Auth URI/closes the popup
- The Canva App returns the error: Bad Server Response/Failed to exchange Auth Code.
I’m wondering if Bubble is not returning to the Canva auth URI with the parameters expected by Canva which are below - but there is not much Bubble documentation provided:
- The state originally provided in the call to Bubble’s Authorization endpoint
- The auth code generated by the Bubble app.
Configuration:
I’m using the bubble API settings to create a 3rd Party App, which includes the return URI: https://www.canva.com/apps/oauth/authorized
Then I’m using the Canva App authorisation settings to align with Bubble which includes the Authorize and Access Token end points urls: