fix(admin): force manual oauth refresh to bypass local cache (#308)

Co-authored-by: fawney19 <[email protected]>
This commit is contained in:
AAEE86
2026-04-17 14:12:15 +08:00
committed by GitHub
co-authored by fawney19
parent ff4e853fd3
commit e5d3722adf
3 changed files with 87 additions and 24 deletions
@@ -29,7 +29,7 @@ pub(super) async fn execute_admin_provider_oauth_refresh(
Ok(None) => {
return Ok(RefreshDispatch::Respond(response::control_error_response(
http::StatusCode::BAD_REQUEST,
"缺少 refresh_token,需要重新授权",
"Token 刷新未执行,请检查授权配置",
)));
}
Err(AdminLocalOAuthRefreshError::HttpStatus {