summaryrefslogtreecommitdiffstats
path: root/crates/auth-service
diff options
context:
space:
mode:
Diffstat (limited to 'crates/auth-service')
-rw-r--r--crates/auth-service/src/server/grpc/interceptor.rs1
-rw-r--r--crates/auth-service/src/server/routes/authorised.rs7
2 files changed, 2 insertions, 6 deletions
diff --git a/crates/auth-service/src/server/grpc/interceptor.rs b/crates/auth-service/src/server/grpc/interceptor.rs
index 155a306..bc0bc07 100644
--- a/crates/auth-service/src/server/grpc/interceptor.rs
+++ b/crates/auth-service/src/server/grpc/interceptor.rs
@@ -3,7 +3,6 @@ use tonic::{
service::{Interceptor, interceptor::InterceptedService},
transport::Channel,
};
-use tracing::Span;
pub type Intercepted = InterceptedService<Channel, MyInterceptor>;
diff --git a/crates/auth-service/src/server/routes/authorised.rs b/crates/auth-service/src/server/routes/authorised.rs
index 9b97cd2..552f6c1 100644
--- a/crates/auth-service/src/server/routes/authorised.rs
+++ b/crates/auth-service/src/server/routes/authorised.rs
@@ -9,10 +9,7 @@ use axum::{
use axum_extra::{TypedHeader, headers};
use oauth2::{AuthorizationCode, TokenResponse};
use reqwest::{StatusCode, header::SET_COOKIE};
-use sellershut_core::{
- auth::{RegisterUserRequest, auth_server::Auth, register_user_request::AccountDetails},
- users::CreateUserRequest,
-};
+use sellershut_core::auth::{RegisterUserRequest, auth_server::Auth, register_user_request::AccountDetails};
use serde::{Deserialize, Serialize};
use sqlx::types::uuid;
use time::OffsetDateTime;
@@ -28,7 +25,7 @@ use crate::{
error::AppError,
server::{
OAUTH_CSRF_COOKIE, csrf_token_validation::csrf_token_validation_workflow,
- grpc::auth::DbUser, keys::generate_actor_keypair, routes::Provider,
+ grpc::auth::DbUser, routes::Provider,
},
state::AppHandle,
};