postiz: wire INSTAGRAM_APP_ID/SECRET via ESO for IG-standalone provider
Standalone provider (instagram-standalone OAuth flow) is what the user is trying after the FB-Login path was blocked by their Business Account ad-policy flag. Uses modern scope names (instagram_business_*), so no JS patch needed unlike the FB-Login provider.
This commit is contained in:
parent
e883c9d63f
commit
ce9bf5b676
1 changed files with 12 additions and 0 deletions
|
|
@ -95,6 +95,14 @@ resource "kubernetes_manifest" "external_secret_jwt" {
|
||||||
secretKey = "FACEBOOK_APP_SECRET"
|
secretKey = "FACEBOOK_APP_SECRET"
|
||||||
remoteRef = { key = "instagram-poster", property = "facebook_app_secret" }
|
remoteRef = { key = "instagram-poster", property = "facebook_app_secret" }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
secretKey = "INSTAGRAM_APP_ID"
|
||||||
|
remoteRef = { key = "instagram-poster", property = "instagram_app_id" }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
secretKey = "INSTAGRAM_APP_SECRET"
|
||||||
|
remoteRef = { key = "instagram-poster", property = "instagram_app_secret" }
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -158,6 +166,10 @@ resource "helm_release" "postiz" {
|
||||||
# placeholder; ESO patches the real values from Vault below.
|
# placeholder; ESO patches the real values from Vault below.
|
||||||
FACEBOOK_APP_ID = ""
|
FACEBOOK_APP_ID = ""
|
||||||
FACEBOOK_APP_SECRET = ""
|
FACEBOOK_APP_SECRET = ""
|
||||||
|
# IG standalone (Postiz Instagram-Login integration). Uses the modern
|
||||||
|
# `instagram_business_*` scopes — does not require the FB Login dance.
|
||||||
|
INSTAGRAM_APP_ID = ""
|
||||||
|
INSTAGRAM_APP_SECRET = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use our PVC for uploads (overrides the chart's emptyDir default).
|
# Use our PVC for uploads (overrides the chart's emptyDir default).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue