fix: Reload page after redirect flow ends to avoid reactivity issues#32766
fix: Reload page after redirect flow ends to avoid reactivity issues#32766
Conversation
🦋 Changeset detectedLatest commit: 4ae5f54 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #32766 +/- ##
===========================================
+ Coverage 55.56% 55.58% +0.02%
===========================================
Files 2635 2635
Lines 57292 57309 +17
Branches 11865 11869 +4
===========================================
+ Hits 31834 31856 +22
+ Misses 22768 22757 -11
- Partials 2690 2696 +6
Flags with carried forward coverage won't be shown. Click here to find out more. |
MarcosSpessatto
left a comment
There was a problem hiding this comment.
Is there any possibility of adding automated tests to cover this? Asking because I'm not sure if we can simulate that...
Also, can we add a description to the PR?
|
About testing, i don't think it's possible 😬 right now. I don't think we have any oauth login test 🤔and for reliability we would need an oauth server configured for the CI (like a keycloack server). Totally doable, but a project in itself |
|
could you check if this #32929 solves the case? |
|
let me check |
|
Closing this for now as apparently linked PR fixed the issue 🎉 |
https://rocketchat.atlassian.net/browse/SUP-619
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
PR adds an additional step to the
redirectflow of OAuth logins, refreshing the page to recover reactivity on the UI.This should fix most user inconsistencies happening after a login via OAuth (redirect). This shouldn't affect any other type of login, like, for example, popup flow.