Hi Anu, Kamini,
It sounds like these may be two separate issues.
Anu, are you receiving any error messages when you try and run `forest.authenticate()`? Or does it just sit there and hang? I don't think you're running into an endless loop issue, as there is no loop in the authentication. It is making a network request to the API server, however, and if you're on a network with a restrictive firewall - or something of the sort - I could imagine that the request may be blocked. Could you try from a different computer? It might also be a tempfile creation issue, which we can try and workaround if it's not a network issue (but this would throw an error instead of just idling). In any event, please let me know if you have any console outputs you could share that might help diagnose the issue.
Kamini, would you please share any console outputs to help me debug your issue? My first instinct is that you're using an old version of Python (like python 2.7). Could you try reinstalling and running with Python3.6+ if so?