When requesting a token using the device-flow, the output has a dot at the end of the URL.
This dot gets interpreted, at least in my terminal emulator, as part of the URL.
************************************************************************
To continue, you need to authenticate. To do so, please visit https://iam.ebrains.eu/auth/realms/hbp/device?user_code=XXXX-XXXX.
*************************************************************************
Which prompts the user to enter the Device Code manually or to correct the URL manually.