-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
github organization and team authorization with docker not working #7235
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
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! |
Will this bug be fixed? |
That does not mention teams or org authentication at all. It does not include their configuration as well. Patches are welcome.
This seems correct, Weblate currently uses OAuth2 only for authentication, not for repositories access. |
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! |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
Hello,
I tried to setup github authentication with the docker images and the following environment variables:
But nothing really worked.
I found out the hard way that the documentation https://docs.weblate.org/en/latest/admin/auth.html#github-authentication does not provide the correct callback URLs for organizations (should be https://example.com/accounts/complete/github-org/ and teams (should be https://example.com/accounts/complete/github-teams/).
After fixing that, I always get the error message "Handled exception: AuthFailed: Authentication failed: User doesn't belong to the organization"
I think the github scope is not correctly set in the docker-image as the github auth screen only shows "Public data only
Limited access to your public data".
I already tried
Steps to reproduce the behavior
Try to setup an organization or teams authentication with github.com
Expected behavior
There should be no errors for members of the organization / team.
Screenshots
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
weblate@c009c6dca2de:/$ weblate list_versions
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: