Finished the demo to get the access token

Finished the demo to get the access token