ezidam: added openid configration, well known route
This commit is contained in:
parent
44506422e9
commit
2d0d6857ce
10 changed files with 647 additions and 2 deletions
11
crates/openid/src/error.rs
Normal file
11
crates/openid/src/error.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// error
|
||||
#[derive(thiserror::Error)]
|
||||
// the rest
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
#[error("Failed to parse an URL: `{0}`")]
|
||||
UrlParse(#[from] url::ParseError),
|
||||
|
||||
#[error("Failed to serialize to JSON: `{0}`")]
|
||||
JsonSerialization(#[from] serde_json::Error),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue