You can generate your own clientid by creating an application on the ArcGIS for Developers website. Be sure to add as a redirect uri for your application.