It seems that since last Orion Context Broker update the https://raw.githubusercontent.com/fgalan/oauth2-example-orion-client/master/token_script.sh stopped working.
The script and curl to https://orion.lab.fiware.org/token hangs and doesn't return token. Any chance that token API or url been changed?