You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some processes (in my case, I wanted to add the kc_idp_hint parameter) one must add static query parameters to the OAuth Authorization URL.
Other solutions (Grafana for example) combine the URL provided for authorization correctly.
Weblate does not.
Weblate appends the parameters required for the authorization process as statically as ?param=value&..., no matter if a query parameter is already present.
Other solutions (e.g. Grafana, to name one) correctly determine the presence of query parameters and instead append their parameters via ¶m=value&....
System check identified some issues:
WARNINGS:
?: (security.W018) You should not have DEBUG set to True in deployment.
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-5.4.2/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-5.4.2/admin/backup.html
?: (weblate.I031) New Weblate version is available, please upgrade to 5.8.4.
HINT: https://docs.weblate.org/en/weblate-5.4.2/admin/upgrade.html
Additional context
No response
The text was updated successfully, but these errors were encountered:
Thanks for the hint! I didn’t think about this being an upstream issue.
I still find it non-intuitive, mostly compared to other solutions (I went through all of our OAuth connected tools yesterday to add this setting, and managed to do it for all others without looking at docs). But then that’s an issue to be raised upstream.
Should we close this here?
Describe the issue
For some processes (in my case, I wanted to add the
kc_idp_hint
parameter) one must add static query parameters to the OAuth Authorization URL.Other solutions (Grafana for example) combine the URL provided for authorization correctly.
Weblate does not.
Weblate appends the parameters required for the authorization process as statically as
?param=value&...
, no matter if a query parameter is already present.Other solutions (e.g. Grafana, to name one) correctly determine the presence of query parameters and instead append their parameters via
¶m=value&...
.So, when I provide the authorization URL such as
I'll be redirected to
instead of
I already tried
Steps to reproduce the behavior
docker-compose
file, add the following envs for enabling OAuth (plus all the other envs required for OAuth config):?
Expected behavior
Query parameters should be correctly appended
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: