1616 name : heimdall-trust-bundle
1717 configKey : ca-certificates.crt
1818
19+ whoami :
20+ enabled : true
21+
22+ # Tells rulesets to use the oidc_contextualizer, needed for
23+ # local dev with authelia
24+ use_oidc_contextualizer : true
25+
26+
1927fga-operator :
2028 enabled : true
2129 # Non-chart value
@@ -127,7 +135,7 @@ heimdall:
127135 type : anonymous
128136 config :
129137 subject : " _anonymous"
130- - id : authelia
138+ - id : oidc
131139 type : oauth2_introspection
132140 config :
133141 metadata_endpoint :
@@ -150,7 +158,7 @@ heimdall:
150158 # the `sub` claim should NOT be used downstream.
151159 id : ' [username,client_id].0'
152160 contextualizers :
153- - id : authelia_userinfo
161+ - id : oidc_contextualizer
154162 type : generic
155163 config :
156164 endpoint :
@@ -214,8 +222,8 @@ heimdall:
214222 (list "clients@" .Subject.Attributes.client_id | join ""))
215223 | quote
216224 }}
217- {{ if .Outputs.authelia_userinfo .email -}},
218- "email": {{ quote .Outputs.authelia_userinfo .email }}
225+ {{ if .Outputs.oidc_contextualizer .email -}},
226+ "email": {{ quote .Outputs.oidc_contextualizer .email }}
219227 {{ end -}}
220228 {{ if .Values.aud -}},
221229 "aud": {{ quote .Values.aud }}
@@ -224,7 +232,8 @@ heimdall:
224232
225233 default_rule :
226234 execute :
227- - authenticator : anonymous_authenticator
235+ - authenticator : oidc
236+ - contextualizer : oidc_contextualizer
228237 - authorizer : deny_all
229238 - finalizer : create_jwt
230239
0 commit comments