Skip to content

Commit

Permalink
Merge pull request #24 from camptocamp/eppn_as_mellon_preauth_provide…
Browse files Browse the repository at this point in the history
…r_id

feat: update apache config to set preauth id to eppn
  • Loading branch information
f-necas authored Jul 10, 2024
2 parents d5aaf03 + c1100d4 commit 02e1291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apache-mod-mellon/templates/apache-config-httpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ data:
{{ .Values.apache_auth_headers_type }} set preauth-firstname "expr={base64}%{base64:%{env:MELLON_GIVEN_NAME}}" "expr=-n env('MELLON_GIVEN_NAME')"
{{ .Values.apache_auth_headers_type }} set preauth-lastname "expr={base64}%{base64:%{env:MELLON_SN}}" "expr=-n env('MELLON_SN')"
{{ .Values.apache_auth_headers_type }} set preauth-provider "{{ .Values.mellon_config.provider_id }}"
{{ .Values.apache_auth_headers_type }} set preauth-provider-id "expr={base64}%{base64:%{env:MELLON_SN}}" "expr=-n env('MELLON_SN')"
{{ .Values.apache_auth_headers_type }} set preauth-provider-id "expr={base64}%{base64:%{env:MELLON_EPPN}}" "expr=-n env('MELLON_EPPN')"
{{- if .Values.georchestra_proxypass_endpoint -}}
ProxyPass "{{ .Values.georchestra_proxypass_endpoint }}"
Expand Down Expand Up @@ -277,4 +277,4 @@ data:
Require valid-user
RewriteEngine on
RewriteRule (.*) / [R]
</Location>
</Location>

0 comments on commit 02e1291

Please sign in to comment.