Why Do I Need My Own Credentials?
Google requires applications that upload to YouTube on behalf of users to go through a costly verification process ($15,000-$75,000). Instead of passing this cost to users, Loki Studio uses a "bring your own credentials" approach where you create your own OAuth credentials for free.
Your credentials are:
- Free to create
- Private - stored only on your computer
- Secure - sent only to Google's servers during authentication
Step-by-Step Setup
Step 1: Create a Google Cloud Project
- Go to Google Cloud Console
- Sign in with your Google account
- Click Select a project (top left) → New Project
- Name it something like "Loki Studio" or "My YouTube Uploader"
- Click Create
Step 2: Enable the YouTube Data API
- In your new project, go to APIs & Services → Library
- Search for "YouTube Data API v3"
- Click on it and press Enable
Step 3: Configure OAuth Consent Screen
- Go to APIs & Services → OAuth consent screen
- Select External (unless you have a Google Workspace account)
- Click Create
- Fill in the required fields:
- App name: "Loki Studio" (or any name you prefer)
- User support email: Your email address
- Developer contact email: Your email address
- Click Save and Continue
- On the Scopes screen, click Add or Remove Scopes
- Search for and add these scopes:
https://www.googleapis.com/auth/youtube.upload
https://www.googleapis.com/auth/youtube
- Click Update then Save and Continue
- On Test users, click Add Users and add your own email
- Click Save and Continue then Back to Dashboard
Step 4: Create OAuth Credentials
- Go to APIs & Services → Credentials
- Click + Create Credentials → OAuth client ID
- Application type: Desktop app
- Name: "Loki Studio Desktop" (or any name)
- Click Create
- A dialog will show your Client ID and Client Secret
- Copy both values - you'll need them in the next step
Step 5: Enter Credentials in Loki Studio
- Open Loki Studio
- Go to Application Settings → YouTube tab
- Paste your Client ID in the first field
- Paste your Client Secret in the second field
- The credentials are automatically saved
Step 6: Add Your YouTube Channel
- Go to the Upload tab
- Click Add Channel
- Your browser will open to Google's sign-in page
- Sign in and authorize the application
- You'll see a success message in the browser
- Return to Loki Studio - your channel should now appear
Troubleshooting
"Access blocked: This app's request is invalid"
This usually means the OAuth consent screen is not configured or your email is not added as a test user. Go back to Step 3 and verify the consent screen setup.
"Error 400: redirect_uri_mismatch"
This can happen if the OAuth client type is not "Desktop app". Delete the credential and create a new one as "Desktop app".
"OAuth not configured" in Loki Studio
- Make sure both Client ID and Client Secret are entered
- The Client ID should end in
.apps.googleusercontent.com
- The Client Secret is usually a shorter alphanumeric string
Token Expired or Invalid
Tokens occasionally need to be refreshed. Try removing and re-adding the channel: Go to Upload → select channel → Remove Channel, then Add Channel again.
Security Notes
- Your OAuth credentials are stored locally in
app_settings.json
- They are never sent anywhere except directly to Google during authentication
- Each user must create their own credentials
- You can revoke access anytime at Google Security Settings