juspay/hyperswitch · error
Failed to decrypt oidc configs
Error message
Failed to decrypt oidc configs
What it means
Error "Failed to decrypt oidc configs" thrown in juspay/hyperswitch.
Source
Thrown at crates/router/src/configs/secrets_transformers.rs:622
#[allow(clippy::expect_used)]
let sage = settings::SageSettings::convert_to_raw_secret(conf.sage, secret_management_client)
.await
.expect("Failed to decrypt sage configs");
#[allow(clippy::expect_used)]
let superposition =
external_services::superposition::SuperpositionClientConfig::convert_to_raw_secret(
conf.superposition,
secret_management_client,
)
.await
.expect("Failed to decrypt superposition config");
#[allow(clippy::expect_used)]
let oidc = settings::OidcSettings::convert_to_raw_secret(conf.oidc, secret_management_client)
.await
.expect("Failed to decrypt oidc configs");
#[allow(clippy::expect_used)]
let account_updater = if let Some(account_updater) = conf.account_updater {
Some(
settings::AccountUpdaterConfig::convert_to_raw_secret(
account_updater,
secret_management_client,
)
.await
.expect("Failed to decrypt account updater configuration"),
)
} else {
None
};
#[allow(clippy::expect_used)]
let open_router = {
let mut open_router = conf.open_router;View on GitHub (pinned to 3093f22cc4)
Solutions
- Verify the key used to encrypt the OIDC configuration secrets
When it happens
Trigger: Thrown at crates/router/src/configs/secrets_transformers.rs:649 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of juspay/hyperswitch@3093f22cc4 (2026-08-19).
Data as JSON: /api/errors/7f514677fe78c507.
Report an issue: GitHub.