Active
Project:
DocCheck Basic
Version:
2.1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2026 at 14:18 UTC
Updated:
14 Jul 2026 at 07:38 UTC
Jump to comment: Most recent
When a language path prefix in domain is used, the "Redirect-URL" under /admin/config/people/doccheckbasic is always generated with the language prefix, e.g. https://domain.tld/nl/_dc_callback. It is taken the first activated language. But when more than one language should use the doccheck login, you will then need more docchecks login clients and possibilities to set many Login-Client-ID's.
The best way is to not have the language path prefix in "Redirect url" and also not on the callback page himself. Like in the previous verison 8.x-1.10.
Comments
Comment #2
sleitner commentedI think this is only a cosmetic problem, since the language prefix of the "Redirect-URL" does not interfere with the language of the URL where the user is finally redirected to (which was stored in the session before clicking the Doccheck button).
https://domain.tld/_dc_callbackshould work as "Redirect-URL" as well.Comment #3
kspanka commentedThanks for your answer and sorry for my late reply.
I already tried to remove the prefix from the in doccheck saved Redirect-URL like "https://domain.tld/_dc_callback", but the Doccheck button sends the prefix inside the uri get param redirect_uri like "https://domain.tld/nl/_dc_callback". So when trying to login, doccheck raises the message that the redirect uri isn't valid and doesn't redirect to this uri.