fix: tighten oauth and source resource handling

This commit is contained in:
lda
2026-06-14 00:53:42 +07:00 Verified
parent 2609679b87
commit d596898b96
19 changed files with 228 additions and 21 deletions
+8
View File
@@ -472,6 +472,10 @@ def test_workflow_config_parses_oauth_provider_profile() -> None:
"scopes": [
"https://www.googleapis.com/auth/drive.readonly",
],
"extra_authorize_params": {
"access_type": "offline",
"prompt": "consent",
},
}
}
}
@@ -482,3 +486,7 @@ def test_workflow_config_parses_oauth_provider_profile() -> None:
assert provider.kind == "oauth_authorization_code_pkce"
assert provider.client_id_env == "GOOGLE_OAUTH_CLIENT_ID"
assert provider.scopes == ("https://www.googleapis.com/auth/drive.readonly",)
assert provider.extra_authorize_params == {
"access_type": "offline",
"prompt": "consent",
}