Use OIDC username

This commit is contained in:
Simon Goller 2024-06-05 18:00:05 +02:00
parent 9888ac4062
commit 3c670d50d3
10 changed files with 154 additions and 43 deletions

View file

@ -31,6 +31,9 @@ pub enum ServiceError {
#[error("Database query error: {0}")]
DatabaseQueryError(#[from] dao::DaoError),
#[error("Unauthorized")]
Unauthorized,
#[error("Forbidden")]
Forbidden,