Skip to content
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

Inviting a new user to your workspace after enabling Google Authentication / Mail / Calendar causes them to get stuck in a login profile creation loop #6707

Open
MuratDoganer opened this issue Aug 21, 2024 · 6 comments
Assignees
Labels
good first issue Good for newcomers type: bug Something isn't working

Comments

@MuratDoganer
Copy link

Bug Description

I created a test workspace to test out the Google integrations. After integrating Google and confirming it works with my account, I sent an invite to a friend to test the workspace. When they accept the invite they get taken to a profile creation screen, where they enter their name and upload profile picture.

When they hit next it asks them if they want to sync with Google. clicking Yes takes them to the Google Credential screen where they verify and sign in to Google services. Upon completion they are then taken back to Twenty and asked to create a new profile.

This loop repeats for as long as the user clicks on Sync with Google.

If the user clicks "not this time" they are then able to use the Twenty platform for a short period of time. Once the token expires and they need to log in again, the process repeats. They are asked to create a profile again.

@MuratDoganer MuratDoganer added the type: bug Something isn't working label Aug 21, 2024
@fsd-niraj
Copy link

I would like to contribute to this issue. Please assign it to me and give me a go ahead it still open.
Thanks.

@MuratDoganer
Copy link
Author

If you have any issues replicating this bug please let me know, happy to provide video, screenshot, and console output when it occurs :)

@Bonapara
Copy link
Member

Just assigned you @fsd-niraj! Thanks for contributing

@charlesBochet
Copy link
Member

Interesting, a hint on debugging: we display the connect your email modal when there is an ONBOARDING_CONNECT_ACCOUNT_PENDING in userVars (keyValueParis table). Upon account connection or on "not this time" click, it should be set to false / removed from userVars

@fsd-niraj
Copy link

Thanks for that little hint.
I'm working on it, just a couple more days

@charlesBochet
Copy link
Member

@fsd-niraj any update on this one?

@charlesBochet charlesBochet added the good first issue Good for newcomers label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers type: bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants