Google Drive & Auto Ekspor
Ekspor otomatis tiap stok penuh & upload hasilnya ke Google Drive. Ekspor manual di halaman Ekspor tetap berjalan normal.
Koneksi Google Drive
Belum terhubung. Isi Client ID & Secret lalu klik "Minta Izin Google".
Langkah Setup (sekali saja)
- Buka Google Cloud Console → Credentials → Create Credentials → OAuth client ID.
- Application type: Web application. Authorized redirect URI wajib persis:
https://bank-agc.uyak.eu.org/drive_setup.php - Enable Google Drive API untuk project itu.
- Isi Client ID & Client Secret di kiri, klik Simpan.
- Klik tombol di bawah → pilih akun Google → izinkan.
- Selesai — refresh token tersimpan. Cron otomatis mengunggah setiap job auto yang selesai.
Catatan: consent screen mode "Testing" → token kadaluarsa ±7 hari; set status aplikasi In production agar permanen.