본문으로 건너뛰기

Google Drive 자체 클라이언트 ID 사용하기

Google Drive 리모트에 client_id가 없으면 rclone은 rclone 공용 클라이언트 ID로 로그인합니다. 이 클라이언트 ID의 요청 한도는 많은 rclone 사용자가 함께 쓰기 때문에, 공용 ID를 쓰는 리모트는 느려지거나 403 오류로 실패할 수 있습니다. rclone 문서에 따르면 공용 클라이언트 ID는 폐기 중이며 2026년 중에 동작을 멈춥니다.

client_id가 비어 있으면 RcloneView는 Add Google Drive 대화상자와 Edit Remote 대화상자에 다음 안내를 표시합니다.

Add Google Drive dialog showing the shared client ID notice and the How to create your own client ID link

이 가이드는 Google Cloud 콘솔에서 자체 클라이언트 ID와 클라이언트 시크릿을 만들어 RcloneView에 입력하고 다시 로그인하는 방법을 설명합니다. 1~5단계는 Google Cloud 콘솔에서, 6~7단계는 RcloneView에서 진행합니다.

영상으로 보고 싶다면 아래 모든 단계를 따라가는 3분짜리 영상(영어 자막)을 참고하세요.

아래 절차는 rclone 가이드 Making your own client_id(How to create your own client ID 링크가 여는 페이지)를 따르며, 2026년 12월 기준 Google Cloud 콘솔 화면에 맞춰져 있습니다. Google은 콘솔 화면을 수시로 바꾸므로, 아래 이름이 화면과 다르면 rclone 가이드를 확인하세요.


1단계: 프로젝트를 만들고 Google Drive API 사용 설정하기​

  1. Google Cloud 콘솔에 로그인합니다. 어떤 Google 계정이든 상관없으며, 연결하려는 Google Drive의 계정과 같을 필요는 없습니다.

  2. 페이지 위쪽의 프로젝트 선택기를 열고 새 프로젝트를 만듭니다(기존 프로젝트를 선택해도 됩니다). Project name(예: rcloneview-client-id)을 입력하고 Create를 클릭합니다. Google Workspace 계정으로 로그인했다면 조직 도메인이 들어간 Organization 칸도 표시되는데(아래 스크린샷은 Workspace 계정으로 찍은 것입니다), 그대로 두면 됩니다. 개인 Google 계정(Gmail)에는 Organization 칸이 없고 Location에 No organization이 표시되며, 이것도 그대로 두면 됩니다.

    Google Cloud New Project page with the project name rcloneview-client-id and the Create button
  3. 페이지 위쪽에서 새 프로젝트가 선택되어 있는지 확인합니다. 검색창에서 Google Drive API를 검색해 열고 Enable을 클릭합니다.

    Google Drive API product details page with the Enable button

2단계: OAuth 동의 화면 구성하기​

  1. APIs & Services › Credentials로 이동합니다(왼쪽 패널의 Credentials를 클릭합니다. 마법사가 열리는 Create credentials가 아닙니다). "Remember to configure the OAuth consent screen"이라는 배너가 보입니다. Configure consent screen을 클릭한 뒤 Get started를 클릭합니다.

    Credentials page with the banner asking to configure the OAuth consent screen and the Configure consent screen button
  2. Project configuration 마법사가 열립니다. 1 App Information에서 App name(예: rclone)을 입력하고 User support email(본인 이메일이면 됩니다)을 선택한 뒤 Next를 클릭합니다.

    Project configuration wizard, App Information step with the App name rclone and a user support email
  3. 2 Audience에서 External을 선택하고 Next를 클릭합니다. Google Workspace 계정을 쓰고 조직 내 사용자만 이 클라이언트 ID를 쓴다면 Internal을 선택해도 됩니다. 이 경우 테스트 사용자 추가와 게시(4단계)가 필요 없습니다.

    Project configuration wizard, Audience step with Internal and External options and External selected
  4. 3 Contact Information에서 Google이 프로젝트 관련 알림을 보낼 이메일 주소를 입력하고 Next를 클릭합니다.

  5. 4 Finish에서 I agree to the Google API Services User Data Policy에 체크하고 Continue를 클릭한 뒤 Create를 클릭합니다.


3단계: Google Drive 범위(scope) 추가하기​

  1. 왼쪽 패널에서 Data Access를 클릭한 뒤 Add or remove scopes를 클릭합니다. Update selected scopes 패널이 열립니다.

  2. 아래로 스크롤해 Manually add scopes에 다음 세 범위를 붙여넣고(한 줄에 하나씩 또는 쉼표로 구분) Add to table을 클릭합니다.

    • https://www.googleapis.com/auth/docs
    • https://www.googleapis.com/auth/drive
    • https://www.googleapis.com/auth/drive.metadata.readonly
    Update selected scopes panel with the three Google Drive scopes pasted into Manually add scopes
  3. 세 범위가 체크된 상태로 표 맨 위에 나타납니다. 패널 아래쪽의 Update를 클릭합니다.

    Update selected scopes panel with the docs, drive and drive.metadata.readonly scopes checked and the Update button
  4. Data Access 페이지로 돌아오면 범위가 Your sensitive scopes와 Your restricted scopes 아래에 표시됩니다. 페이지 아래쪽의 Save를 클릭합니다. Save를 클릭해야 범위가 저장됩니다.

    Data Access page listing the auth/docs scope under sensitive scopes and the auth/drive scopes under restricted scopes, with the Save button

4단계: 본인을 테스트 사용자로 추가하기​

2단계에서 Internal을 선택했다면 이 단계를 건너뜁니다.

  1. 왼쪽 패널에서 Audience를 클릭합니다. Test users 아래의 + Add users를 클릭합니다.

  2. 연결하려는 Google Drive를 소유한 Google 계정의 이메일 주소를 입력하고 Save를 클릭합니다.

    Audience page with Publishing status Testing, a greyed-out Publish app button, and the Add users panel with one test user and the Save button

이제 Publishing status는 Testing입니다. Branding 페이지를 완성하기 전까지 Publish app 버튼은 비활성화되어 있습니다("To publish your app, you must complete your configuration on the Branding page"). Branding에는 애플리케이션 홈페이지, 개인정보처리방침 링크, 승인된 도메인(authorized domain)이 필요합니다. 자세한 내용은 rclone 가이드를 참고하세요. 게시하지 않고 Testing 상태로도 클라이언트 ID를 쓸 수 있습니다.

Testing과 게시(publish)

앱을 Testing 상태로 두어도 되지만, 그러면 Google 로그인 승인이 약 1주일 뒤 만료되어 다시 로그인해야 합니다. 앱을 게시하면 이 문제가 없습니다. 개인용(사용자 100명 미만)이라면 보통 Google 앱 인증(verification)이 필요 없으며, 로그인할 때 "unverified app" 경고가 표시될 뿐이므로 그대로 진행하면 됩니다.


5단계: OAuth 클라이언트 ID 만들기​

  1. 왼쪽 패널에서 Clients를 클릭하고 새 클라이언트를 만듭니다. Create OAuth client ID 페이지에서 Application type으로 Desktop app을 선택합니다. Name은 기본값(예: Desktop client 1)이면 됩니다. Create를 클릭합니다.

    Create OAuth client ID page with Application type Desktop app, the name Desktop client 1 and the Create button
  2. OAuth client created 대화상자에 Client ID와 Client secret이 표시됩니다. 복사 버튼으로 둘 다 복사해 안전한 곳에 보관하거나 Download JSON을 클릭합니다. 그런 다음 OK를 클릭합니다.

    OAuth client created dialog with the Client ID, the masked Client secret, the warning that the secret cannot be viewed again, and the Download JSON and OK buttons
대화상자를 닫기 전에 클라이언트 시크릿을 복사하세요

OAuth client created 대화상자를 닫으면 클라이언트 시크릿을 다시 보거나 다운로드할 수 없습니다. 클라이언트 ID는 나중에 Clients에서 언제든 다시 확인할 수 있지만, 시크릿을 잃어버리면 새 클라이언트를 만들어야 합니다. OK를 클릭하기 전에 클라이언트 시크릿을 복사하거나 Download JSON을 클릭하고, 다른 사람에게 공개하지 마세요.


6단계: RcloneView에 클라이언트 ID 입력하기​

기존 Google Drive 리모트​

  1. 리모트의 Edit Remote 대화상자를 엽니다. Remote 탭에서 Remote Manager를 클릭한 뒤 Google Drive 리모트 카드의 Edit를 클릭합니다. 해당 리모트를 보여 주는 Explorer 패널 오른쪽 위의 톱니바퀴 아이콘을 클릭해도 됩니다. 리모트 설정 편집을 참고하세요. 대화상자에 공용 클라이언트 ID 안내가 표시됩니다.

    RcloneView Remote Manager with the Edit Google Drive dialog showing the shared client ID notice and the Show advanced options link
  2. **Show advanced options**를 클릭합니다. **client_id**와 client_secret 칸이 나타납니다.

    Edit Google Drive dialog with advanced options shown, including the empty client_id and client_secret fields
  3. **client_id**에 클라이언트 ID를, **client_secret**에 클라이언트 시크릿을 붙여넣습니다. client_id에 값이 들어가는 즉시 공용 클라이언트 ID 안내가 사라집니다.

    Edit Google Drive dialog with client_id and client_secret filled in and the shared client ID notice gone
  4. **Save**를 클릭하고 7단계로 넘어갑니다.

새 Google Drive 리모트​

  1. Remote 메뉴에서 **+ New Remote**를 클릭하고 Google Drive를 선택합니다.

    New Remote dialog with the list of providers including Google Drive
  2. Remote name을 입력합니다.

  3. **Show advanced options**를 클릭합니다. client_id와 client_secret 칸은 고급 옵션에 있습니다.

  4. **client_id**에 클라이언트 ID를, **client_secret**에 클라이언트 시크릿을 붙여넣습니다.

  5. **Add Remote**를 클릭하고 7단계로 넘어갑니다.


7단계: Google에 로그인하기​

공용 클라이언트 ID로 한 Google 로그인은 자체 클라이언트 ID로 이어지지 않으므로, 리모트는 새 ID로 다시 로그인해야 합니다.

  1. Save(또는 Add Remote)를 클릭하면 처음 리모트를 추가했을 때처럼 브라우저에 Google 로그인 페이지가 열립니다.
  2. Google Drive를 소유한 계정으로 로그인하고(External을 선택했다면 4단계에서 추가한 테스트 사용자여야 합니다) 접근을 허용합니다.
  3. 앱이 Testing 상태인 동안에는 Google이 "unverified app" 경고를 표시할 수 있습니다. 이는 2단계에서 만든 앱을 가리킵니다. Advanced를 클릭한 뒤 **Go to rclone (unsafe)**를 클릭합니다(2단계에서 입력한 앱 이름이 표시됩니다).
  4. 브라우저에 rclone의 성공 페이지가 표시됩니다. 브라우저 탭을 닫고 RcloneView로 돌아갑니다.

저장한 뒤에도 리모트가 실패하면, 같은 클라이언트 ID와 클라이언트 시크릿으로 새 Google Drive 리모트를 추가한 다음(6단계의 "새 Google Drive 리모트" 참고) Remote Manager에서 기존 리모트를 삭제합니다.

결과 확인하기​

Edit Remote 대화상자를 다시 열어 봅니다. 이제 client_id에 값이 있으므로 공용 클라이언트 ID 안내가 더 이상 표시되지 않습니다.

Edit Google Drive dialog reopened after saving, without the shared client ID notice

이제 리모트는 많은 rclone 사용자가 함께 쓰는 한도 대신 자체 요청 한도를 쓰므로, 폴더 탐색이 대체로 빨라지고 403 오류로 실패할 가능성도 줄어듭니다.

Google Photos

Google Photos 리모트도 자체 클라이언트 ID가 필요하며, 절차가 다릅니다(Photos Library API와 그 범위). rclone 가이드 Google Photos: Making your own client_id를 참고하세요.

외부 rclone

이 가이드는 컴퓨터에서 브라우저를 열어 로그인할 수 있는 RcloneView 내장 rclone을 기준으로 합니다. 브라우저가 없는 서버에서 실행되는 rclone이라면 AWS EC2의 외부 Rclone에 Google Drive 추가를 참고하세요.


관련 가이드​