Search code examples
phpgoogle-drive-apigoogle-oauthgoogle-console-developer

Can I create a new ID Client Oauth without access to console?


I want to create a new Id Client Oauth 2.0 for Google Drive API, then generate the object JSON (oauth credentials), download it and place it in a specific folder, without the use of the console developers google. Is there a script (in php or javascript) that produce this with the email and password of a google account?

I want to create this "standalone script" because I dont want that the client must go before on the google console (although it will be for one-time).

thanks, Matteo


Solution

  • It is not possible to programmatically create a project on Google developer console. The only way to create a new project is to do it though the website manually.

    You are not going to find a script or anything to allow you to do this. The only think that remotely resembles this is the Google Cloud Resource Manager API but its not going to let you create credentials.