diff --git a/src/oauth/pds_write.rs b/src/oauth/pds_write.rs index 8196f2e..7dd49c3 100644 --- a/src/oauth/pds_write.rs +++ b/src/oauth/pds_write.rs @@ -198,7 +198,9 @@ async fn retry_after_refresh( { tracing::error!(%del_err, "failed to delete broken DPoP session"); } - return Err(e); + return Err(AppError::Auth( + "session expired, please re-authenticate".to_string(), + )); } } else { return Err(e);