Skip to content

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

chore(auth): Turn off cookies in integ environment (#10929)

Mani Chandra70ae8978006e
diff --git a/config/config.example.toml b/config/config.example.toml
index 19c0806cec..98469a2dde 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -485,7 +485,7 @@ two_factor_auth_expiry_in_secs = 300 # Number of seconds after which 2FA should
totp_issuer_name = "Hyperswitch" # Name of the issuer for TOTP
base_url = "" # Base url used for user specific redirects and emails
force_two_factor_auth = false # Whether to force two factor authentication for all users
-force_cookies = true # Whether to use only cookies for JWT extraction and authentication
+force_cookies = false # Whether to use only cookies for JWT extraction and authentication
[oidc.key.k1]
kid = "" # Key ID used to identify the signing key in JWKS and JWT headers (Generate using: openssl rand -hex 16)
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index a20173d1dc..d1fabb4d6c 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -204,7 +204,7 @@ two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch Integ"
base_url = "https://integ.hyperswitch.io"
force_two_factor_auth = false
-force_cookies = true
+force_cookies = false
[frm]
enabled = true
diff --git a/config/development.toml b/config/development.toml
index 0c66e64111..a30fafe5ef 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -423,7 +423,7 @@ two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch Dev"
base_url = "http://localhost:8080"
force_two_factor_auth = false
-force_cookies = true
+force_cookies = false
[oidc.key.k1]
kid = "" # Key ID used to identify the signing key in JWKS and JWT headers (Generate using: openssl rand -hex 16)
diff --git a/loadtest/config/development.toml b/loadtest/config/development.toml
index 732873bd80..8e2fdca200 100644
--- a/loadtest/config/development.toml
+++ b/loadtest/config/development.toml
@@ -36,7 +36,7 @@ password_validity_in_days = 90
two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch"
force_two_factor_auth = false
-force_cookies = true
+force_cookies = false
[oidc.key.k1]
kid = "" # Key ID used to identify the signing key in JWKS and JWT headers (Generate using: openssl rand -hex 16)