Google api console. Click New Credentials, then select OAuth client ID.