Tool OAuth2 Authorization mode #8101

Closed
opened 2026-02-21 18:23:56 -05:00 by yindo · 2 comments
Owner

Originally created by @shiJie59 on GitHub (Feb 9, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

I would like to ask you a question, can Dify integrate third-party tools to integrate OAuth2 authorization?

Originally created by @shiJie59 on GitHub (Feb 9, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes I would like to ask you a question, can Dify integrate third-party tools to integrate OAuth2 authorization?
yindo added the 🙋‍♂️ question label 2026-02-21 18:23:56 -05:00
yindo closed this issue 2026-02-21 18:23:56 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 9, 2025):

Yes, Dify can integrate third-party tools with OAuth2 authorization. It currently supports OAuth2 authorization for third-party integrations with GitHub, Google, and Notion. The integration process involves creating custom API tools by importing OpenAPI/Swagger specifications or using the OpenAI plugin standard. Dify provides support for two types of authentication: no authentication and API key. For OAuth2, you would need to implement the necessary authorization flows and configurations for the specific third-party tool you wish to integrate [1][2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot[bot] commented on GitHub (Feb 9, 2025): <!-- Answer --> Yes, Dify can integrate third-party tools with OAuth2 authorization. It currently supports OAuth2 authorization for third-party integrations with GitHub, Google, and Notion. The integration process involves creating custom API tools by importing OpenAPI/Swagger specifications or using the OpenAI plugin standard. Dify provides support for two types of authentication: no authentication and API key. For OAuth2, you would need to implement the necessary authorization flows and configurations for the specific third-party tool you wish to integrate <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/controllers/console/auth/oauth.py)</sup><sup>[[2]](https://github.com/langgenius/dify/blob/main/api/controllers/console/auth/data_source_oauth.py)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/78ee9410-ce1c-43fe-83ae-8c1584a77cac?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Feb 9, 2025):

We plan to support it in v1.0.0 or above.

@crazywoola commented on GitHub (Feb 9, 2025): We plan to support it in v1.0.0 or above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8101