镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Feature Request] Add codec HTTP server to the encryptedpayloads sample #491

Open

Description

@cretz

Describe the solution you'd like

Add a codec server for use by the UI to the encryptedpayloads sample. See the Go, TypeScript, Python, and .NET samples for inspiration.

Activity

  1. lorensr commented on Aug 4, 2023

    @lorensr
    Contributor
  2. cretz commented on Aug 4, 2023

    @cretz
    ContributorAuthor

    Nice. May just need to use it in the sample then.

  3. lorensr commented on Aug 4, 2023

    @lorensr
    Contributor

    Would be helpful if it verified token against jwks url and had commented out code for checking the email address against an approved list

  4. cretz commented on Aug 4, 2023

    @cretz
    ContributorAuthor

    Would be helpful if it verified token against jwks url and had commented out code for checking the email address against an approved list

    👍 I don't remember why Java made this a top-level supported project when no other SDKs did, but that may need to be a customization made there and just leveraged here. In general though, it sounds like if this is something we want from our codec server samples, we should do it in all. (feel free to take over codec samples to make them more cohesive if they are not enough already, or just open other issues to have SDK do it, though unsure of prioritization)

  5. lorensr commented on Aug 5, 2023

    @lorensr
    Contributor

    I guess JWKS and email is cloud-specific, so maybe two different examples of the HTTP server routes.

  6. cretz commented on Aug 7, 2023

    @cretz
    ContributorAuthor

    I don't think it's cloud specific. Users setup JWKS on open source (https://github.com/temporalio/samples-go/tree/main/serverjwtauth) and extracting email from the JWT, if that's what you mean, may be a general thing depending on what it's extracting out of the claim. This can just be an option on the existing codec server in each sample IMO.

    IMO we should do it to all (or none).

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions