From 91f50eda23d75e0929afedbeeed59561d9c6c78c Mon Sep 17 00:00:00 2001 From: hoelee Date: Wed, 20 May 2026 12:17:00 +0800 Subject: [PATCH] feat(shell-sync): log_oauth_authorization_guidance() part 1/2 --- platform/shell-sync/sync.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/shell-sync/sync.sh b/platform/shell-sync/sync.sh index 6d3ab803..0c794e71 100644 --- a/platform/shell-sync/sync.sh +++ b/platform/shell-sync/sync.sh @@ -42,3 +42,8 @@ oauth_authorization_invalid() { 'invalid_grant|expired.*(token|credential)|token.*expired|refresh token.*(expired|revoked|invalid)|authorization.*(expired|revoked)|AADSTS700082|AADSTS700084|AUTHENTICATE failed|authentication.*failed|authentication unsuccessful|invalid credentials' } +log_oauth_authorization_guidance() { + local i="$1" + local provider="$2" + local logfile="$3" +