Tags: harababurel/gcsf
Tags
Replace deprecated OOB auth flow with headless-compatible redirect flow Google deprecated the OAuth out-of-band (OOB) flow in October 2022, causing "Error 400: invalid_request" when using authorize_using_code=true. Replace with a hybrid localhost redirect flow that supports both automatic browser redirect and manual URL paste for remote/SSH scenarios. Changes: - Add auth module with headless_login() supporting stdin URL paste - Always use HTTPPortRedirect instead of broken Interactive (OOB) method - Add configurable auth_port option (default: 8081) for redirect server - Add url, urlencoding, reqwest dependencies for OAuth token exchange
Add verify command and pre-mount authentication validation Add `gcsf verify <session>` to check auth status without mounting. Validate authentication before mount attempts to catch token expiration early. Add troubleshooting output for common auth issues and README documentation about Publishing to Production mode for long-running services.
PreviousNext