Skip to content

Login Screen: Deactivate fallback to thingsboard.cloud #273

@me-db

Description

@me-db

ThingsBoard Platform Version

4.2.0

Affected platforms

Both

ThingsBoard Platform Type

Self-hosted ThingsBoard

App Release Version

1.7.0

App type

Custom build app

Steps to reproduce

  1. Disable connection to custom TB platform instance
  2. Open the App
  3. Fallback to Thingsboard Cloud -> stuck at Thingsboard Cloud login page.

Expected results

Dear Thingsboard Developers,

our TB Platform instance is running inside of the companys network. The user of our customized TB App are facing the following problem: If they haven't activated the VPN connection before opening the TB App, the app obviously can't connect to the custom endpoint, which will lead to a redirection to thingsboard.cloud login page. This is very confusing and can only be fixed with a restart of the app.

In my opinion, as soon as the app is configured with a custom endpoint, a redirection to thingsboard.cloud is misleading and not even working, because those users having custom endpoints don't even have cloud accounts.

To enhance the usability, I would suggest:

  • Disable thingsboard cloud fallback if custom endpoint is set.
  • Integrate a connection error page instead with retry button or automatic reconnecting.

Best regards,
me-db

Actual results

If connection to custom TB Platform instance fails on app start, it redirects to thingsboard.cloud login page. This is very confusing and can only be fixed with a restart of the app.

Problematic Files (Optional)

No response

Code sample

Code sample
[Paste your relevant code here]

Screenshots or Video

Screenshots / Video demonstration Image

App Logs

App Logs
[Paste your app logs here]

Flutter Doctor output (Optional)

Doctor output
[Paste your flutter doctor -v output here]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions