We delved into utilizing sub-apps so we could provide the same backbone to multiple unaffiliated clients. It seems like a good solution, except for the process overwriting the sub apps’ API keys. The Bubble documentation clearly states that this should not occur:
However, whenever we push to sub apps - the keys get overwritten what’s on the main app:
I have seen posts in the forum back to 2021 stating that this is an issue but it didn’t say it was resolved. We posted this as a bug to Bubble and we were informed it was a known issue, but there was no timeline for it to be resolved.
This is a huge issue for us, both operationally and security-wise. Every time we push to sub-apps we have to meticulously check and re-enter API keys. Since pushing to sub-apps effectively takes the sub-apps offline until you push the new dev to live, this significantly increases our down-time. We also have to have the “secret” API keys available to our entire team in case we need to push to sub-apps for an urgent fix.
Has anyone gotten around this? Should we just scrap using sub-apps?