Umbraco 15: The mandatory '{0}' parameter is missi...
# help-with-umbraco
t
Hi Folks, I am currently trying to deploy my first umbraco site in a Docker container. When going to /umbraco I get redirected to /umbraco/management/api/v1/security/back-office/authorize?redirect_uri=http%3A%2F%2F168.119.242.63%3A44372%2Fumbraco%2Foauth_complete&client_id=umbraco-back-office&response_type=code&state=vGxM08FQSa&scope=offline_access&prompt=consent&access_type=offline and I recieve the error message: error:invalid_request error_description:The mandatory 'code_challenge' parameter is missing. error_uri:https://documentation.openiddict.com/errors/ID2029 I am a bit lost and would appreciate any adice Cheers :)
c
Is this happening locally too on a running instance of an image you built, or is this happening only on the host?
s
Yeah - if you are trying to login over plain HTTP and a non-localhost domain, it won't work, for security reasons. There are some workarounds in that GitHub issue, but I'd recommend to use HTTPS where you can
k
The redirect URL in the question is non-https, so that sounds like it.
c
Good spot - thanks for the info @kdx-perbol
t
Thank you very much for the infomation, it is much appreciated. I'll see what i can do :)
k
Usually https for ASP.NET development "just works". And when it doesn't, it's always fixable. And using http for web development can get you all sorts of problems, not just with Umbraco. I think there's a folder in
%USERPROFILE%\.aspnet\https\
somewhere that may need manual creation and that's not obvious from error messages.
s
FYI: we're looking for some Docker/container feedback here, please add: https://github.com/umbraco/Umbraco-CMS/discussions/18468
116 Views