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

would like to invite new users to register and log in to Weblate using their Gmail #10562

Closed
dxdx123 opened this issue Dec 7, 2023 · 9 comments
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.

Comments

@dxdx123
Copy link

dxdx123 commented Dec 7, 2023

Describe the problem

I have configured Google OAuth2 authentication in Weblate, allowing existing users to bind their Gmail accounts and log in using Gmail.
I would like to inquire if Weblate supports new users logging in directly with their Gmail accounts when registration is not open?

Describe the solution you'd like

As mentioned above

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Dec 7, 2023

Admin invitations should work even with registration disabled

@nijel nijel added the question This is more a question for the support than an issue. label Dec 7, 2023
Copy link

github-actions bot commented Dec 7, 2023

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

@dxdx123
Copy link
Author

dxdx123 commented Dec 7, 2023

Admin invitations should work even with registration disabled

Yes, as you mentioned, I used an admin account to invite [email protected] to create an account. When clicking the invitation link in Tom123's email, it prompted me to log in using Google OAuth2. After logging in, it indicated that registration is closed, which is due to my setting of WEBLATE_REGISTRATION_OPEN=0.

Could you please tell me if Weblate currently supports the following user creation process?

1.Inviting new users using a Google email.
2.Users clicking on a confirmation link in their email to accept the invitation.
3.Users clicking on the Google authentication button on the login page and logging into Weblate to set up their personal information.
4.Weblate administrators setting up project access permissions for the user.
5.Users logging into Weblate using Google authentication (the only method of authentication).

@nijel
Copy link
Member

nijel commented Dec 8, 2023

What Weblate version do you use? Invitation behavior has been changed in 5.0 and should support this scenario since then.

@dxdx123
Copy link
Author

dxdx123 commented Dec 13, 2023

Admin invitations should work even with registration disabled
my version is 5.0.2 running in docker

@nijel
Copy link
Member

nijel commented Dec 13, 2023

I've just tested it, and it works for me.

  • Does the user see it in Weblate after following the link? User should get a registration form with invitation info on the top.
  • Does the user get some error after following to Google auth button on the registration page?

@dxdx123
Copy link
Author

dxdx123 commented Dec 14, 2023

image

@nijel
Copy link
Member

nijel commented Dec 14, 2023

Did the user follow the invitation link? Registration won't work without that.

Copy link

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Dec 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.
Projects
None yet
Development

No branches or pull requests

2 participants