We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ff4e8 commit 09a32b4Copy full SHA for 09a32b4
tee-worker/omni-executor/rpc-server/src/verify_auth.rs
@@ -163,6 +163,10 @@ async fn verify_oauth2_provider<
163
return Err(AuthenticationError::OAuth2Error("State verifier not found".to_string()));
164
};
165
166
+ if let Err(e) = state_verifier_storage.remove(&key) {
167
+ tracing::warn!("Failed to remove OAuth2 verification data: {:?}", e);
168
+ }
169
+
170
if verification_data.state != payload.state {
171
return Err(AuthenticationError::OAuth2Error("State verifier mismatch".to_string()));
172
}
0 commit comments