Skip to content

Using a Web Application on a fortigate via jump issues a CORS error and does not work #46344

@Atroskelis

Description

@Atroskelis

Expected behavior:

Web App on fortigate mgmt should open mgmt

Current behavior:

Errors in console :

Access to manifest at 'https://:6060/web/launch/.?path=%2Ffavicon%2Fsite.webmanifest' (redirected from 'https://.:6060/favicon/site.webmanifest')

from origin 'https://.:6060' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It seems that it tries from firewall.teleport.example.com to access something teleport.example.com

Bug details:

  • Teleport version - 15.4.9
  • Recreation steps
  • Debug logs

I've tried using many variants of rewrite but nothing works

    headers:
    - "Origin: https://<frw>.<hq-teleport>" # Teleport application subdomain prepended with "https://"
    - "Host: <frw>.<hq-teleport>" # Teleport application subdomain itself
    redirect:
    - "<frw>.<hq-teleport>:6060"

Any feedback is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions