Works in Live but not Dev.
Rather than wait for Bubble I run a workflow on page load that checks for poststripeauth in the URL and then grabs the code from the URL … and does the token exchange you posted above.
This then gets me the Stripe Key which I store. Not great security, but can’t have two different ways of working across Live and Dev.