File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ data "authentik_property_mapping_provider_scope" "proxy" {
2323 managed = " goauthentik.io/providers/proxy/scope-proxy"
2424}
2525
26+ data "authentik_property_mapping_provider_scope" "entitlements" {
27+ managed = " goauthentik.io/providers/oauth2/scope-entitlements"
28+ }
29+
2630# --- デフォルト署名証明書 ---
2731data "authentik_certificate_key_pair" "default" {
2832 name = " authentik Self-signed Certificate"
Original file line number Diff line number Diff line change @@ -227,12 +227,13 @@ resource "authentik_provider_proxy" "wg_lease" {
227227 data . authentik_property_mapping_provider_scope . email . id ,
228228 data . authentik_property_mapping_provider_scope . profile . id ,
229229 data . authentik_property_mapping_provider_scope . proxy . id ,
230+ data . authentik_property_mapping_provider_scope . entitlements . id ,
230231 ]
231232 access_token_validity = " hours=24"
232233 refresh_token_validity = " days=30"
233234 internal_host_ssl_validation = true
234235 intercept_header_auth = true
235- jwks_sources = [
236- authentik_source_oauth . github_actions_oidc . id ,
236+ jwt_federation_sources = [
237+ authentik_source_oauth . github_actions_oidc . uuid ,
237238 ]
238239}
You can’t perform that action at this time.
0 commit comments