mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-29 16:39:04 +00:00
Fixing airflow lineage configs scopes (#5507)
This commit is contained in:
parent
0ecc9f0da6
commit
a3f809d789
@ -69,7 +69,7 @@ def load_okta_auth() -> OktaSSOClientConfig:
|
||||
orgURL=conf.get(LINEAGE, "org_url"),
|
||||
privateKey=conf.get(LINEAGE, "private_key"),
|
||||
email=conf.get(LINEAGE, "email"),
|
||||
scopes=conf.get(LINEAGE, "scopes", fallback=[]),
|
||||
scopes=conf.getjson(LINEAGE, "scopes", fallback=[]),
|
||||
)
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@ def load_azure_auth() -> AzureSSOClientConfig:
|
||||
clientSecret=conf.get(LINEAGE, "client_secret"),
|
||||
authority=conf.get(LINEAGE, "authority"),
|
||||
clientId=conf.get(LINEAGE, "client_id"),
|
||||
scopes=conf.get(LINEAGE, "scopes", fallback=[]),
|
||||
scopes=conf.getjson(LINEAGE, "scopes", fallback=[]),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user