Expose configuration attribute Auth.Providers.Options to Docker and Helm based deployments to allow adding extra URL query params when redirecting to auth provider.
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- docker, go, helm
- Área
- authentication, devops, infrastructure
Línea de trabajo
Comienza con server/config/docker.yaml y compara su configuración de Auth.Providers con server/server/config/config.go; después, inspecciona cómo Helm pasa variables de entorno adicionales al contenedor de UI. Renderiza la configuración con TEMPORAL_AUTH_OPTIONS establecido en un objeto JSON y confirma que las opciones resultantes están disponibles para las redirecciones de OIDC sin afectar a la configuración existente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
We have a self-hosted Helm based deployment of Temporal using Entra ID (Azure) as the IDP for the UI component. We would like to add additional params (specifically domain_hint) to the OIDC redirect requests. This will improve the experience for our users who work across multiple auth domains.
The ability to set these options does already exist in Temporal UI but it is not exposed to Helm or any other Docker based deployment.
Describe the solution you'd like
Since the configuration option (Auth.Providers.Options) already exists within Temporal:
https://github.com/temporalio/ui/blob/d126ea8a9cd92bd83376a2c8b70c98a46900800a/server/server/config/config.go#L133-L134
The straight forward solution is to add the option to the docker config and expose with ENV vars.
https://github.com/temporalio/ui/blob/d126ea8a9cd92bd83376a2c8b70c98a46900800a/server/config/docker.yaml#L62-L63
Add options support to ui/server/config/docker.yaml#L62
callbackUrl: {{ env "TEMPORAL_AUTH_CALLBACK_URL" }}
{{- $options := fromJson (env "TEMPORAL_AUTH_OPTIONS") }}
{{- if and (env "TEMPORAL_AUTH_OPTIONS") (not (empty $options)) }}
options:
{{- range $key, $value := $options }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
useIdTokenAsBearer: {{ env "TEMPORAL_AUTH_USE_ID_TOKEN_AS_BEARER" | default "false" }}
Providing this Helm configuration
web:
additionalEnv:
- name: TEMPORAL_AUTH_OPTIONS
value: '{"domain_hint":"my.auth.domain", "param2":"something"}'
Renders as
options:
domain_hint: my.auth.domain
param2: somthing
Describe alternatives you've considered
We thought about mounting volumes over the existing config but it felt really messy and likely to backfire. And this solution really does seem like the right approach, unless its been deliberately hidden for some reason, which seems unlikely.
Additional context
- Accepting a JSON object will allow multiple attributes to be configured via single generic ENV var.
- go template and sprig helpers are already in use by project so fromJson should be available.
- This with other OIDC provider configurations that require non-standard params in requests.
What are you really trying to do?
Set the domain_hint to improve the login experience for our users, please.
- Lenguaje dominante
- TypeScript
- Estrellas
- 452
- Forks
- 208
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 60
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de temporalio/ui
-
Starting a workflow fails with "Could not encode input" when a browser codec endpoint is saved but the override is offPosiblemente ocupada @pcbeingused33 la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
temporalio/ui#4213 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
temporalio/ui#4189 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
temporalio/ui#3840 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
temporalio/ui#3752 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
temporalio/ui#3651 ·
Los mantenedores suelen responder en 1 día
Todos los issues de temporalio/ui
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
提出物確認の詳細で状態バッジの重複と期限切れの欠落を直すAbiertoCodex使用可 かんたん コード
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ryuki-moro/Nicomaru#348 ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:crash-loop issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openclaw/openclaw#211919 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día