Skip to content

Conversation

@RockChinQ
Copy link
Member

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

This PR introduces the OAuth 2.0 Provider functionality, and users can now authorize configured external apps to access their account profile.
Only used for Dify Services and designed for Dify Cloud for now.

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@RockChinQ RockChinQ self-assigned this Aug 20, 2025
@Yessenia-d Yessenia-d force-pushed the feat/oauth-provider branch from 0aa22bf to 9331151 Compare August 26, 2025 11:26
@Yessenia-d Yessenia-d force-pushed the feat/oauth-provider branch from 9331151 to 2467f14 Compare August 26, 2025 11:31
@Yessenia-d Yessenia-d force-pushed the feat/oauth-provider branch from 333cf31 to a3b397c Compare August 28, 2025 06:38
@RockChinQ RockChinQ marked this pull request as ready for review August 29, 2025 06:05
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. 💪 enhancement New feature or request labels Aug 29, 2025
@RockChinQ
Copy link
Member Author

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 29, 2025
@RockChinQ RockChinQ merged commit f32e176 into main Aug 29, 2025
12 checks passed
@RockChinQ RockChinQ deleted the feat/oauth-provider branch August 29, 2025 06:10
zyileven pushed a commit to zyileven/dify that referenced this pull request Aug 29, 2025
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <[email protected]>
Nov1c444 pushed a commit that referenced this pull request Aug 29, 2025
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <[email protected]>
Cluas pushed a commit to Cluas/dify that referenced this pull request Sep 1, 2025
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants