Forum Academy Marketplace Showcase Pricing Features

Why Bubble wipes out redirect params back to it?

So I’m manually running an OAuth 2 login. The process is this:

  1. My link goes to the 3rd party for login and authorization using a simple external link button with the required URL params. in my case it’s coming from https://mysitename.bubbleapps.io/version-test?debug_mode=true and that is the redirect URL on the API login provider side for security matching.
  2. The user log in and authorization on the third party goes as expected.
  3. The third party does an HTTP redirect to that link above except the page that loads is https://mysitename.bubbleapps.io/version-test It was supposed to pass back URL params from the third party including the Auth code so that I can query for a session token. But it’s blank.

Did Bubble automatically stuff the params into session variables or did it simply wipe out the params? And how do I capture the params?