Joining workspace does not work

Hey guys, I used twenty "v0.41.5" from a blank database. I run the database command : yarn database:init:prod Everything looked OK. βœ… I created a workspace with a Gmail account. βœ… I used another gmail account and tried to join the workspace created, with the workspace invite link πŸ›‘ I got an error telling me that "This user does not have access to this workspace". I deleted the database "default", created it, granted all privilege to the twenty user. Downgraded the twenty version to "v0.40.8" Repeated these steps from above, and I was able to join the workspace. Is that an issue only in v.0.41.5 ?
9 Replies
thomast
thomastβ€’2w ago
did you send an invite to the second gmail account? and you found it in the email of the second gmail account?
Kernel (+1 πŸ₯–)
Kernel (+1 πŸ₯–)OPβ€’2w ago
Hey @thomast , I just used the invite link. I didn't send any email. It worked for version V0.40.8 though my whole team (different gmail accounts of course) experience the same problem. And they confirm that the invite link works for them since the version downgrade
charles
charlesβ€’2w ago
@AMoreaux could you take over this one? We might have a bug in the multi workspace enabled false mode or @Kernel (+1 πŸ₯–) might have a setup issue
Kernel (+1 πŸ₯–)
Kernel (+1 πŸ₯–)OPβ€’2w ago
I am using helm to deploy the manifests from the twenty repository. I have adapted these a bit in order to make these work with ansible (and its key vault) : ``````
Kernel (+1 πŸ₯–)
Kernel (+1 πŸ₯–)OPβ€’2w ago
It works great if I downgrade the twenty docker image version I think it might be just a regression tbh
AMoreaux
AMoreauxβ€’2w ago
Hello, I will try to reproduce the issue I can reproduce it. I'm on it
AMoreaux
AMoreauxβ€’2w ago
The fix is here : https://github.com/twentyhq/twenty/pull/10216 πŸ™‚ @charles
GitHub
fix(auth): Invite with public url and social sso. by AMoreaux Β· Pul...
Correct the URL parameter name from "inviteHash" to "workspaceInviteHash" and enhance domain URL handling for multi-workspace environments.
AMoreaux
AMoreauxβ€’2w ago
Thanks for the report @Kernel (+1 πŸ₯–)
charles
charlesβ€’2w ago
You have a conflict @AMoreaux LGTM, let's take it in 0.42

Did you find this page helpful?