From 9598021f87608e1af3fdeba06944f0f4bb9f6318 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 28 Aug 2025 15:50:35 +0530 Subject: [PATCH] chore: remove redundant route --- config/routes.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index e0775055b..0694bfa31 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,9 +8,6 @@ Rails.application.routes.draw do omniauth_callbacks: 'devise_overrides/omniauth_callbacks' }, via: [:get, :post] - # SAML routes - bypass the redirect_callbacks to handle POST directly - match '/omniauth/saml/callback', to: 'devise_overrides/omniauth_callbacks#saml', via: [:get, :post], constraints: { provider: 'saml' } - ## renders the frontend paths only if its not an api only server if ActiveModel::Type::Boolean.new.cast(ENV.fetch('CW_API_ONLY_SERVER', false)) root to: 'api#index'