Skip to content

Instantly share code, notes, and snippets.

@Aharic
Last active Oct 4, 2021
Embed
What would you like to do?

Type:

How-To

Question/Problem:

How do I enable Proxy Recording mode?

Solution:

  1. Add the following to the auth server(s) configuration in the auth_service section:

    auth_service:
      session-recording: "proxy"
    
  2. Restart Service

###Type:

issue

Question/Problem:

Teleport fails to preserve original URL after redirecting to Teleport Authentication page for first-time application access logins.

Symptoms:

Users will send links to application pages behind Teleport to their colleagues. If their colleagues have not authenticated to Teleport recently, Teleport will ask the colleague to authenticate. After the colleague is authenticated with Teleport they are redirected to the application main page, not to the link that the user sent to their colleague.

Logs:

n/a

Repro Steps:

Presume Grafana is set up at https://grafana.teleport.example.com

  1. Force a logout by going to https://grafana.teleport.example.com/teleport-logout
  2. In a web browser navigate to https://grafana.teleport.example.com/dashboards
  3. As the user is unathenticated, observe Teleport asks the user to authenticate with Teleport first.
  4. Authenticate with Teleport.
  5. After the user is authenticated with Teleport. observe the user is directed to https://grafana.teleport.example.com, and not to https://grafana.teleport.example.com/dashboards

Solution:

The recommended solution is to upgrade to Teleport version 7.x.x which cotains a fix for this bug.

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