-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Get $250 - Invalid Invite link URL for users signed in with Login with Google icon #34977
Comments
Triggered auto assignment to @alexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~01bb51369a85f79a26 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
We think that this bug might be related to #wave9-collect-signup |
ProposalPlease re-state the problem that we are trying to solve in this issue.A URL with just the invite page without any mention of logged in user, when the user is logged using the Google's SSO and not a magic link What is the root cause of that problem?When logging in via Google SSO, the What changes do you think we should make in order to solve the problem?We should fallback to What alternative solutions did you explore? (Optional)NA |
@dukenv0307's proposal looks good to me. We can use the same approach as here:
🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @danieldoglas, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Get $250 - Invalid Invite link URL for users signed in with Login with Google icon What is the root cause of that problem?When App/src/pages/ReferralDetailsPage.tsx Lines 48 to 49 in f56f180
What changes do you think we should make in order to solve the problem?We should have a fallback of
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Get $250 - Invalid Invite link URL for users signed in with Login with Google icon What is the root cause of that problem?When sign-in with Google, we do not set What changes do you think we should make in order to solve the problem?Currently the When begin sign-in with Google we will email from jwt token and then pass into signInAttemptState function function beginGoogleSignIn(token: string | null) {
+ const email = token ? parseJwtToJson(token).email : null;
+ const { optimisticData, successData, failureData } = signInAttemptState(email); Then set function signInAttemptState(primaryLogin?:string | null): OnyxData {
return {
optimisticData: [
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.ACCOUNT,
value: {
...CONST.DEFAULT_ACCOUNT_DATA,
isLoading: true,
message: null,
loadingForm: CONST.FORMS.LOGIN_FORM,
+ primaryLogin,
},
},
],
..... What alternative solutions did you explore? (Optional)When sign-in with Google BE must return |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
@cubuspl42 reassigning, please take over as C+. If you don't have bandwidth, unassign yourself. Thanks |
@mallenexpensify can you please reopen #32292 and close this one? It's dupe |
It indeed looks like a dupe! I'll unassign myself in such a case. If the decision is changed, please re-assign me. |
Thanks for the feedback-- I'm going to close this issue. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.30-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #34360
Action Performed:
Expected Result:
Α URL with the invite link is shown that has the logged in email
Actual Result:
A URL with just the invite page without any mention of logged in user, when the user is logged using the Google's SSO and not a magic link
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6352076_1706023741909.Recording__612a.mp4
Bug6352076_1706023741913.Recording__610.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: