Hello Bubble Community,
I need help troubleshooting an existing Bubble application. I have been working on this issue for approximately one month and would really appreciate some guidance.
My application includes:
-
User login and signup.
-
Stripe subscriptions (active and trialing).
-
A maximum of two devices per user.
-
Browser Device Information - BEP plugin.
-
A USER_DEVICE data type containing device_id, device_name, user, and is_active.
The problem:
I have experienced login problems and inconsistent device validation. I need existing registered devices to log in normally while blocking a third device.
My login workflow includes:
-
Log the user in.
-
Check Stripe subscription status.
-
Check registered devices.
-
Register a new device if the user has fewer than two.
-
Show a device-limit popup and block access when the limit is reached.
What I have already checked:
-
Device fingerprint values.
-
USER_DEVICE search constraints.
-
Workflow conditions.
-
Issue Checker.
-
Subscription status conditions.
I suspect that the subscription validation and device-limit workflows may be interfering with each other, but I have not confirmed the cause.
My questions:
-
What is the correct workflow order for login, Stripe subscription validation, and a two-device limit?
-
Could a Terminate Workflow action or conditional logout prevent device registration?
-
What is the safest way to temporarily disable the device limit without affecting login, Stripe, or user data?
I would prefer to fix the existing workflows rather than rebuild the application.
Any specific suggestions would be greatly appreciated. Thank you!