Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions deploy/mcp-oauth-proxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ data:
protocols: {{ .Values.application.tls.protocols | quote }}
cipher-suites: {{ .Values.application.tls.cipherSuites | quote }}
reload-period: {{ .Values.application.tls.reloadPeriod | quote }}
{{- if (.Values.oidc.embrace.tlsInsecureClient | default false) }}
embrace-insecure-client:
trust-all: true
hostname-verification-algorithm: NONE
{{- end }}

log:
console:
Expand Down Expand Up @@ -135,13 +140,21 @@ data:
extra-params:
access_type: "offline"
embrace:
{{- if (.Values.oidc.embrace.tlsInsecureClient | default false) }}
tls:
tls-configuration-name: embrace-insecure-client
{{- end }}
discovery-enabled: false
auth-server-url: {{ .Values.oidc.embrace.authServerUrl | quote }}
authorization-path: {{ .Values.oidc.embrace.authorizationUrl | quote }}
token-path: {{ .Values.oidc.embrace.tokenPath | quote }}
jwks-path: {{ .Values.oidc.embrace.jwksPath | quote }}
{{- if .Values.oidc.embrace.userInfoPath }}
user-info-path: {{ .Values.oidc.embrace.userInfoPath | quote }}
{{- else }}
{{- $embraceUiBase := .Values.oidc.embrace.syntheticUserInfoBaseUrl | default (printf "https://%s" .Values.application.host) }}
user-info-path: {{ printf "%s/internal/embrace/oauth-userinfo" $embraceUiBase | quote }}
{{- end }}
client-id: {{ .Values.oidc.embrace.clientId | quote }}
credentials:
client-secret:
Expand Down
6 changes: 5 additions & 1 deletion deploy/mcp-oauth-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,12 @@ oidc:
authorizationUrl: "https://dash.embrace.io/oauth/authorize"
tokenPath: "/oauth/token"
jwksPath: "/.well-known/jwks.json"
# Public HTTPS base for MoP (no path). Defaults to https://application.host if empty.
# Full UserInfo URL for synthetic Embrace UserInfo (same as quarkus user-info-path). When set, overrides syntheticUserInfoBaseUrl.
userInfoPath: ""
# Public HTTPS base for MoP (no path). Used only when userInfoPath is empty. Defaults to https://application.host if empty.
syntheticUserInfoBaseUrl: ""
# When true, MoP trusts any server cert for the embrace OIDC tenant (token/JWKS/UserInfo). Use only for broken TLS (e.g. synthetic UserInfo on localhost).
tlsInsecureClient: false
# Quarkus OidcProvider: "any" skips iss on self-signed internal ID tokens (id-token-required=false + synthetic UserInfo).
tokenIssuer: "any"
clientId:
Expand Down