Skip to content

Commit 48eca26

Browse files
authored
Merge pull request #576 from shinbunbun/fix/terraform-entitlements-scope
Terraform: Authentik 2026.2.1のentitlementsスコープを追加
2 parents 4c1807e + cb9ce0c commit 48eca26

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

terraform/authentik_data.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
# --- デフォルト署名証明書 ---
2731
data "authentik_certificate_key_pair" "default" {
2832
name = "authentik Self-signed Certificate"

terraform/authentik_providers.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)