[Feature Request] Auth provider url support proxy server
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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