Your current gcloud project is marked as (Default).
5
Configure OAuth consent screen
OAuth Init opens the Google Cloud Console consent screen page:
┌ Action Required││ 1. Choose 'External'│ 2. Fill App Name & Email│ 3. Click 'Save and Continue' through to the end.│└ https://console.cloud.google.com/apis/credentials/consent?project=my-dev-project┌ Press Enter once you've saved the Consent Screen│ (or type 'skip' if done previously)└
Follow the instructions in the browser, then return to the terminal and press Enter.
6
Create OAuth client ID
OAuth Init opens the credentials creation page:
┌ Action Required││ 1. Select 'Web Application'│ 2. Add your Redirect URIs│ 3. Click 'Create'│└ https://console.cloud.google.com/apis/credentials/oauthclient?project=my-dev-project┌ Paste your Client ID:│ 123456789-abcdefgh.apps.googleusercontent.com└┌ Paste your Client Secret:│ ********************************└
Copy the Client ID and Client Secret from the Google Cloud Console.
7
Save credentials
Choose how to save your credentials:
◆ Where should we save your credentials?│ ● .env│ ○ .env.local│ ○ JSON file│ ○ Print to console└◇ Credentials saved to .env