I’m attempting to access an application through OAuth. I seem to be able to set everything up correctly. However, I first need to authenticate by including debug_mode=true in the URL, but the receiving party does not accept this (I get a bad gateway error). Is there an alternative solution, or am I doing something wrong?
When I don’t include debug_mode=true in the URL, I initially get a message that I need to authenticate, but then I do proceed to the correct page.
Do you have any suggestions? Am I doing something incorrectly, or is there a workaround for the authentication issue?
Hard to say without knowing specifics, but you should def not include the debug param in the URL when setting up oAuth. Also make sure you set it up for both dev and production (version-test vs version-live).
if you talk about initializing the oAuth2 user-agent flow, you don’t need to include debug_mode=true in provider settings (but you will use it to initialize it in Bubble) and instead, use the generic oAuth url provided by API connector