Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(oidc): registration of oidc paths (#10678)
Kanika Bansal3a9d2d4c1348
diff --git a/crates/router/src/lib.rs b/crates/router/src/lib.rsindex e567d711c3..1a87b51049 100644--- a/crates/router/src/lib.rs+++ b/crates/router/src/lib.rs@@ -235,7 +235,6 @@ pub fn mk_app(.service(routes::Gsm::server(state.clone())).service(routes::RecoveryDataBackfill::server(state.clone()));}- server_app = server_app.service(routes::Oidc::server(state.clone()));}#[cfg(all(feature = "payouts", feature = "v1"))]@@ -264,7 +263,11 @@ pub fn mk_app(server_app = server_app.service(routes::Cache::server(state.clone()));server_app = server_app.service(routes::Health::server(state.clone()));-+ // Registered at the end because this entry has an empty scope+ #[cfg(feature = "olap")]+ {+ server_app = server_app.service(routes::Oidc::server(state.clone()));+ }server_app}