Skip to content

Commit 0e276a5

Browse files
authored
Merge pull request #115 from smart-mcp-proxy/fix/oauth-ui-stale-error
Fix stale error messages after successful OAuth authentication
2 parents 034e6b4 + 036f74b commit 0e276a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/upstream/types/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ func (sm *StateManager) TransitionTo(newState ConnectionState) {
138138
if newState == StateReady {
139139
sm.lastError = nil
140140
sm.retryCount = 0
141+
sm.isOAuthError = false
142+
sm.oauthRetryCount = 0
141143
}
142144

143145
info := ConnectionInfo{

0 commit comments

Comments
 (0)