We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c45719 commit c24479dCopy full SHA for c24479d
src/webserver/oidc.rs
@@ -208,7 +208,7 @@ impl OidcState {
208
let nonce_verifier = |nonce: Option<&Nonce>| check_nonce(nonce, state);
209
let claims: OidcClaims = id_token
210
.into_claims(&verifier, nonce_verifier)
211
- .with_context(|| format!("Could not verify the ID token"))?;
+ .map_err(|e| anyhow::anyhow!("Could not verify the ID token: {}", e))?;
212
Ok(claims)
213
}
214
0 commit comments