Repository navigation
Let connector templates decide what a person opening a connect link sees - #482
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | 349b5f9 | Nov 29 2026, 12:43 PM |
tnkuehne
force-pushed
the
app-connect-return-templates
branch
4 times, most recently
from
November 29, 2026 09:33
9f49c47 to
e5a1ce9
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
2 times, most recently
from
November 29, 2026 10:27
751302e to
00e256b
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 10:59
00e256b to
05323d2
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 11:45
e0b851f to
3edf6a7
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 12:15
3edf6a7 to
e716694
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 12:29
e716694 to
d7f482f
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 12:34
d7f482f to
2b6dff7
Compare
tnkuehne
force-pushed
the
app-connect-return-templates
branch
from
November 29, 2026 12:42
2b6dff7 to
349b5f9
Compare
A connect link no longer fails when the connector is not set up: the template shows its own page, which tells an administrator what to set. A failed sign-in returns connectionError=failed, the value the runtime uses, instead of connectionError=1. The expired-link pages and Garmin's success page no longer point only to Widefleet, since the person may have come from an app. Garmin's key page offers a way back without a key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A connect link no longer fails when a connector template is not set up: the template shows its own page, which tells an administrator what to set. Whoever opens the link, the template decides what they see.
A failed sign-in returns
connectionError=failedto the calling page, the value the runtime uses, instead ofconnectionError=1. Expired-link pages and Garmin's success page no longer tell the person to return to Widefleet, since they may have come from an app.Garmin asks for an API key on its own page. Someone without a key at hand can now choose "Cancel and go back", which returns with
connectionError=failed.The templates' results are unchanged: the runtime (previous PR) gives calling apps their own link.
Tests
template-oauth.test.ts: a refused provider sign-in returns to the original page withconnectionError=failed.connectionError=failed.Depends on the previous PR of the stack.