-
-
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
OAUTH callback URL not accurate despite site domain set #6349
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! |
Isn't this configured at GitHub side? |
Github's side of things is more the check, if what Weblate sends isn't matched to what's on Github's config, then it'll toss an error. The issue is that weblate seems to be sending not only the wrong URL, but malformed as well. The URL being sent is |
I feel like it has to have something to do with the docker side of things and/or the proxy through apache. But I'm only guessing, I don't work much with Docker in general. |
I'm going to just silently close this. For those interested, @nijel was correct, it was the GitHub side of things. I had a personal and org level application, one of which wasn't being used but was the one I changed and the org level one is what I forgot about. The issue I was facing was the old callback URL being used and hitting no valid domain in my apache configs so it was redirecting to my default domain as it is configured to do. |
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
|
Describe the issue
Once switching domains to a .app domain (which forces SSL), I had to reconfigure weblate to use HTTPS, once finally getting the site to load correctly, the issue I'm left remaining is when trying to auth through Github, the callback URL is the domain of the server, not the WEBLATE_SITE_DOMAIN set in the docker-compose.override file
I already tried
If you didn’t try already, try to search there what you wrote above.
I've tried tweaking the reverse proxy settings in the apache2 vhost config
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
Expected to show the github login screen.
Screenshots
https://cdn.discordapp.com/attachments/484164647830945793/870166332920971264/unknown.png
Exception traceback
No useful info in docker logs, even with debug on.
Server configuration and status
Apache2 vhost config:
docker-compose.override.yml:
Server Versions:
https://hastebin.com/ximanimicu.yaml
settings-override.py in docker data volume:
CSRF_TRUSTED_ORIGINS = ["translate.tacobot.app"]
Weblate deploy checks
The text was updated successfully, but these errors were encountered: