-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Disqus OAuth Provider #3526
Feat: Disqus OAuth Provider #3526
Conversation
@2002Bishwajeet I answered all of your comments and left one new comment. Please address those. Then Ill jump into full code review. By the way, amazing quality of a PR! 🤩 |
@2002Bishwajeet left code review, just a few small details. Overall looks good 👍 Once they are resolved, I can mark PR as approved. |
Co-authored-by: Matej Bačo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🥳 Let's please try to make one more account after doing all of these changes to make sure functionality is still untouched.
Also please sync with master, looks like there is a conflict with |
I will test it again now |
Hmm why is account marked as emailVerified=true? Is this something we do always? @TorstenDittmann probably |
any updates? |
It's hardcoded to true now: appwrite/app/controllers/api/account.php Line 484 in e17ab5f
but it wasn't before... @TorstenDittmann, do you remember why this change was made? |
There is a problem with OAuth2 Providers that don't need a verification for the E-Mail and allows you to potentially hijack an account. Let's say you have an account registered in Appwrite with the e-mail Then this other person can log in to the existing So this part reverts that change, since there is a lot of issues with the current implementation. But it is the first stepstone in our OAuth2 Class to improve this in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work!
Some minor comments.
- Please reduce the image size from 200x200 to 100x100 as mentioned in the guidelines.
Co-authored-by: Christy Jacob <[email protected]>
Co-authored-by: Christy Jacob <[email protected]>
Co-authored-by: Christy Jacob <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
What does this PR do?
Adds Disqus OAuth Provider
Test Plan
Manual Testing
Related PRs and Issues
#410
Have you read the Contributing Guidelines on issues?
Yes ✨