Bug Report: Google Drive OAuth credentials are lost after settings reload (v1.10) #10

Open
opened 2026-06-26 07:49:25 -05:00 by Geraltze · 1 comment
Geraltze commented 2026-06-26 07:49:25 -05:00 (Migrated from git.etawen.dev)

Environment:

Garlic SaveMgr: v1.10
PS5 Firmware: 12.20 (slim)
Boot Method: Y2JB Autoloader
Google Drive API enabled
OAuth Client Type: Web Application
OAuth credentials generated using Google OAuth Playground

Problem:

Google Drive authentication works correctly immediately after entering the OAuth credentials, but fails after Garlic reloads the Settings page.

The following error is displayed:

Drive access test failed:
OAuth Client Secret is required

Steps to Reproduce:
Open Settings.
Select Google Drive as the provider.
Enter:
OAuth Client ID
OAuth Client Secret
Refresh Token
Access Token
Folder ID
Click TEST DRIVE ACCESS.
Result:

✅ Test succeeds (green).

Without changing any credentials, navigate to another page (Applications/Saves).
Click Cloud Backup on any save or simply return to Settings.
Result:

Cloud Backup fails and Garlic reports:

OAuth Client Secret is required

The same behavior also occurs after clicking Save Settings.

Expected Result:

OAuth credentials should remain valid after navigating between pages or after pressing Save Settings.

Cloud Backup should continue to work without requiring the credentials to be entered again.

Additional Information:
Google Drive API is correctly enabled.
OAuth Client ID and Client Secret are valid.
Google OAuth Playground successfully generates both an Access Token and a Refresh Token using the same credentials.
Folder ID is valid.
TEST DRIVE ACCESS succeeds immediately after entering the credentials.
The issue only appears after Garlic reloads the Settings page or attempts to reuse the stored configuration.

I can reproduce this issue 100% consistently on my setup.

**Environment:** Garlic SaveMgr: v1.10 PS5 Firmware: 12.20 (slim) Boot Method: Y2JB Autoloader Google Drive API enabled OAuth Client Type: Web Application OAuth credentials generated using Google OAuth Playground **Problem:** Google Drive authentication works correctly immediately after entering the OAuth credentials, but fails after Garlic reloads the Settings page. **The following error is displayed:** Drive access test failed: OAuth Client Secret is required **Steps to Reproduce:** Open Settings. Select Google Drive as the provider. Enter: OAuth Client ID OAuth Client Secret Refresh Token Access Token Folder ID Click TEST DRIVE ACCESS. **Result:** ✅ Test succeeds (green). Without changing any credentials, navigate to another page (Applications/Saves). Click Cloud Backup on any save or simply return to Settings. Result: Cloud Backup fails and Garlic reports: OAuth Client Secret is required The same behavior also occurs after clicking Save Settings. **Expected Result:** OAuth credentials should remain valid after navigating between pages or after pressing Save Settings. Cloud Backup should continue to work without requiring the credentials to be entered again. **Additional Information:** Google Drive API is correctly enabled. OAuth Client ID and Client Secret are valid. Google OAuth Playground successfully generates both an Access Token and a Refresh Token using the same credentials. Folder ID is valid. TEST DRIVE ACCESS succeeds immediately after entering the credentials. The issue only appears after Garlic reloads the Settings page or attempts to reuse the stored configuration. I can reproduce this issue 100% consistently on my setup.
JxD commented 2026-08-24 02:17:58 -05:00 (Migrated from git.etawen.dev)

I am having the same issue.

It seems the json is storing all the Oauth info but only 'OAuth Client ID' is being read . the other three setting seem to be read from the actual setting text boxes which change upon saving. Either that or there is an error in the way the other data is being stored

I can replicate the issue like this:
Enter all the oauth info
Click 'Test Drive Access'
Success
Click 'Save Settings' last three Oauth text boxes change to stars
Go to 'Browse'
Check 'All'
Click 'Cloud'
Bulk item failed: OAuth Client Secret is required
I then went back to the settings page re-entered the last three oauth boxes
and without hitting any buttons or switching tabs it immediately started to process and upload to my drive folder
Google Drive upload complete: 1Mqh-ocZbFlm-ZcmLSNANT9Z8t0Hi08Ke
9:54:12 AMBulk queue finished: 16 ok, 4 failed

the 4 failures were before I reentered the oauth info

Saving or switching tabs reverts to a non working status.

11.6 digital

I first tried this on v1.12 and it still happens on v1.13

I am having the same issue. It seems the json is storing all the Oauth info but only 'OAuth Client ID' is being read . the other three setting seem to be read from the actual setting text boxes which change upon saving. Either that or there is an error in the way the other data is being stored I can replicate the issue like this: Enter all the oauth info Click 'Test Drive Access' Success Click 'Save Settings' last three Oauth text boxes change to stars Go to 'Browse' Check 'All' Click 'Cloud' Bulk item failed: OAuth Client Secret is required I then went back to the settings page re-entered the last three oauth boxes and without hitting any buttons or switching tabs it immediately started to process and upload to my drive folder Google Drive upload complete: 1Mqh-ocZbFlm-ZcmLSNANT9Z8t0Hi08Ke 9:54:12 AMBulk queue finished: 16 ok, 4 failed the 4 failures were before I reentered the oauth info Saving or switching tabs reverts to a non working status. 11.6 digital I first tried this on v1.12 and it still happens on v1.13
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
git-etawen-dev-earthonion/garlic-savemgr#10
No description provided.