Hello @Pinakster,
welcome to this moderated Azure community forum.
I recommend getting in touch with the creator https://github.com/gloveboxes if you have question about this repo.
It is recommended to use the regular way to connect a IoT central devices based on the proper secrets instead of this shortcut.
Behind IoT Central technology like Azure IoT Hub and Azure Device Provisioning Service are used.
You could try it first with an example like this Python example.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.