Whereas /register works successfully, /autoregister returns the following error message:
Error on logon or user_pw. Hubic api server responded with return code: 302
Even if I uncomment the line in config.php file:
'autoredirect_uri'=>'https://localhost/callback/', // only needed for autoregister