Skip to content

Generic OIDC should support fetching tokens directly from HTTP endpoints #69706

Description

@timothyb89

What would you like Teleport to do?

tbot/teleport should support fetching JWTs directly from HTTP endpoints in their client-side generic_oidc configuration, potentially including basic request headers.

It would probably also need some basic support for parsing the response, e.g. jsonpath or similar.

What problem does this solve?

Currently, the generic_oidc join method supports sourcing tokens from either environment variables or arbitrary commands. However, this is problematic when using Teleport's -distroless images: without any other binaries in the image to actually run, it's not possible to source JWTs.

Various providers make HTTP endpoints available for this purpose:

...however, without a tool like curl, these endpoints can't actually be fetched.

If a workaround exists, please include it.

Use a -debug image instead of distroless and use a curl command.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestUsed for new features in Teleport, improvements to current should be #enhancementsmachine-id

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions