In OIDC, the redirect_uri must exactly match one of the allowed redirect URIs configured in the authorization server. If it is missing or not in the allowed list, the server will return an "invalid authentication request code" error, which fits the scenario shown.