temporalio / temporalio/ui

[Feature Request] Auth provider url support proxy server

Open
#1,265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Is your feature request related to a problem? Please describe.

TEMPORAL_AUTH_ENABLED=true but ui-server connecting to TEMPORAL_AUTH_PROVIDER_URL fails in environments that require a proxy server to be specified.

Describe the solution you'd like

Add configuration for an optional proxy url e.g. TEMPORAL_AUTH_PROVIDER_PROXY_URL.

Additional context

I think per this for go-oidc that ui-server could attach an httpclient with that proxy url to the ctx (with key oauth2.HTTPClient) it creates and passes in to NewProvider (at this line).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in server/route/auth.go at the NewProvider call around line 64, then read the linked go-oidc context guidance. Trace how TEMPORAL_AUTH_PROVIDER_URL is configured and passed into the provider. Done means an optional TEMPORAL_AUTH_PROVIDER_PROXY_URL can be configured so authentication works through a proxy without changing behavior when it is unset.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.