mirror of
https://github.com/langgenius/dify.git
synced 2026-04-10 19:47:53 +08:00
feat: oauth
This commit is contained in:
parent
4dab128900
commit
f7ec255b3e
@ -703,7 +703,9 @@ class DatasourceProviderService:
|
||||
credentials = self.get_datasource_credentials(
|
||||
tenant_id=tenant_id, provider=datasource.provider, plugin_id=datasource.plugin_id
|
||||
)
|
||||
redirect_uri = f"{dify_config.CONSOLE_API_URL}/console/api/oauth/plugin/{datasource_provider_id}/datasource/callback"
|
||||
redirect_uri = (
|
||||
f"{dify_config.CONSOLE_API_URL}/console/api/oauth/plugin/{datasource_provider_id}/datasource/callback"
|
||||
)
|
||||
datasource_credentials.append(
|
||||
{
|
||||
"provider": datasource.provider,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user