How to structure dev vs prod, as environments

What is a good way of structuring strings / settings, for Dev vs Prod?

Say you have a Twitter Oauth flow, which redirects the user back to the app.

In that case, since you’re testing on, and then on prod, the url is, you’d need to use a different URL depending on the environment.

Normally from the dev side, you’d store those custom strings in some file, and then switch on the environment type, but how does this work in bubble?

When using API connector user-agent flow, You should use generic url provided by Bubble. If you handle the auth yourself, you can use the app version parameter to configure the redirect url dynamically.

This topic was automatically closed after 70 days. New replies are no longer allowed.