채팅 7875532826 / 메시지 1476
텍스트 메시지
대화방 Snoopybot
발신자 Snoopybot (@snoopy0816bot)
발신 시각 2026-02-18T01:48:56+00:00
메시지
완료 직전입니다. 근데 먼저 보안 조치부터 꼭 해요.
지금 메시지에 refresh_token/client_secret가 그대로 노출됐어요.
0) 보안 먼저 (중요)
1. Google 계정 → 보안 → 제3자 앱 액세스에서 방금 앱 권한 제거
2. Google Cloud에서 해당 OAuth Client의 Client Secret 재발급(또는 새 Client 생성)
3. 새 값으로 다시 1회 인증 받아 refresh_token 재발급
1) 새 토큰/시크릿 저장
(아래는 형식만, 실제 값은 새로 발급받은 값 사용)
openclaw secret set GOOGLE_CLIENT_ID '...'
openclaw secret set GOOGLE_CLIENT_SECRET '...'
openclaw secret set GOOGLE_REFRESH_TOKEN '...'
openclaw secret set GOOGLE_CALENDAR_IDS 'primary'
2) 액세스 토큰 갱신 + 테스트
python3 /Users/leehsong/.openclaw/workspace/skills/google-calendar/scripts/refresh_token.py
source ~/.config/google-calendar/secrets.env
python3 /Users/leehsong/.openclaw/workspace/skills/google-calendar/scripts/google_calendar.py list --max 5
원하면 제가 다음 단계로
• 일정 조회 결과 확인
• “내일 일정 요약” 자동 알림(크론)
까지 바로 붙여드릴게요.