Skip to content

Fetch RequiredApps when resolving app with fqdnHint only#51800

Merged
avatus merged 1 commit intomasterfrom
avatus/fix_redirects
Feb 5, 2025
Merged

Fetch RequiredApps when resolving app with fqdnHint only#51800
avatus merged 1 commit intomasterfrom
avatus/fix_redirects

Conversation

@avatus
Copy link
Copy Markdown
Contributor

@avatus avatus commented Feb 3, 2025

If an app is accessed via a bookmark or other means without clicking the "Launch" button in the web UI, we only have access to the fqdn and try to resolve the app that way.

After resolution we then try to resolve the app names stored in the required apps spec. This however relied on the clusterName in the params.

If that isn't supplied, we can fallback to the cluster name in resolved app spec instead.

Fixes #51140

changelog: Fixed an issue where required apps wouldn't be authenticated when launching an application from outside the Teleport Web UI.

@avatus avatus requested a review from kimlisa February 3, 2025 19:59
@github-actions github-actions Bot requested review from ryanclark and tcsc February 3, 2025 20:00
If an app is accessed via a bookmark or other means _without_ clicking
the "Launch" button in the web UI, we only have access to the fqdn and
try to resolve the app that way.

After resolution we then try to resolve the app names stored in the
required apps spec. This however relied on the clusterName in the
params.

If that isn't supplied, we can fallback to the cluster name in resolved
app spec instead.

Fixes #51140
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from tcsc February 4, 2025 19:39
@avatus avatus added this pull request to the merge queue Feb 4, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 4, 2025
@avatus avatus added this pull request to the merge queue Feb 4, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 4, 2025
@avatus avatus added this pull request to the merge queue Feb 5, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 5, 2025
@avatus avatus added this pull request to the merge queue Feb 5, 2025
Merged via the queue into master with commit 9eac1cf Feb 5, 2025
@avatus avatus deleted the avatus/fix_redirects branch February 5, 2025 15:33
@public-teleport-github-review-bot
Copy link
Copy Markdown

@avatus See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Create PR

avatus added a commit that referenced this pull request Feb 5, 2025
If an app is accessed via a bookmark or other means _without_ clicking
the "Launch" button in the web UI, we only have access to the fqdn and
try to resolve the app that way.

After resolution we then try to resolve the app names stored in the
required apps spec. This however relied on the clusterName in the
params.

If that isn't supplied, we can fallback to the cluster name in resolved
app spec instead.

Fixes #51140
github-merge-queue Bot pushed a commit that referenced this pull request Feb 7, 2025
…1884)

If an app is accessed via a bookmark or other means _without_ clicking
the "Launch" button in the web UI, we only have access to the fqdn and
try to resolve the app that way.

After resolution we then try to resolve the app names stored in the
required apps spec. This however relied on the clusterName in the
params.

If that isn't supplied, we can fallback to the cluster name in resolved
app spec instead.

Fixes #51140
carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
…al#51800)

If an app is accessed via a bookmark or other means _without_ clicking
the "Launch" button in the web UI, we only have access to the fqdn and
try to resolve the app that way.

After resolution we then try to resolve the app names stored in the
required apps spec. This however relied on the clusterName in the
params.

If that isn't supplied, we can fallback to the cluster name in resolved
app spec instead.

Fixes gravitational#51140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backends-for-frontend's feature broken when accessing application directly in a browser (not using launch button)

3 participants