diff --git a/remote_backend/src/controllers/mod.rs b/remote_backend/src/controllers/mod.rs index 9345b4d..87f0909 100644 --- a/remote_backend/src/controllers/mod.rs +++ b/remote_backend/src/controllers/mod.rs @@ -55,6 +55,12 @@ impl From> for HttpErr { } } +impl From for HttpErr { + fn from(value: light_openid::errors::OpenIdError) -> Self { + HttpErr::Err(std::io::Error::other(value.to_string()).into()) + } +} + impl From for HttpErr { fn from(value: std::io::Error) -> Self { HttpErr::Err(value.into())