diff --git a/imphnen-gateway-service/src/lib.rs b/imphnen-gateway-service/src/lib.rs index dcf6570..f08ddbb 100644 --- a/imphnen-gateway-service/src/lib.rs +++ b/imphnen-gateway-service/src/lib.rs @@ -19,7 +19,7 @@ pub async fn gateway_service( }; let public_routes = iam_public_routes(); - let protected_routes = iam_protected_routes();//.layer(from_fn(auth_middleware)); + let protected_routes = iam_protected_routes().layer(from_fn(auth_middleware)); Router::new() .route("/", get(Redirect::to("/docs")))