Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 25c4ca9

Browse files
authored
Update error.rs
1 parent c85a419 commit 25c4ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl IntoResponse for AppError {
2626
Self::InvalidIdTokenNonce(err) => (StatusCode::BAD_REQUEST, format!("Invalid Id Token Nonce: {}", err)).into_response(),
2727
Self::MissingIdTokenAndUserInfoEndpoint => (StatusCode::BAD_REQUEST, "Missing Id Token And User Info Endpoint - at least one is missing, you may create an issue to find an workaround if you can't configure your idp to provide either of them: https://github.com/MarcelCoding/jitsi-openid/issues/new").into_response(),
2828
Self::InvalidAccessToken => (StatusCode::BAD_REQUEST, "Invalid Access Token").into_response(),
29-
Self::MissingAccessTokenHash => (StatusCode::BAD_REQUEST, "Missing Access Token Hash - if you can't configure your IDP to provide an access token hash (delivered using the id token), reach out to me to implement some kind of workaround: https://github.com/MarcelCoding/jitsi-openid/issues/new").into_response(),
29+
Self::MissingAccessTokenHash => (StatusCode::BAD_REQUEST, "Missing Access Token Hash - see https://github.com/MarcelCoding/jitsi-openid/issues/372#issuecomment-2730510228 for more information how to handle this").into_response(),
3030
Self::UnsupportedSigningAlgorithm => (StatusCode::BAD_REQUEST, "Unsupported Signing Algorithm").into_response(),
3131
Self::InternalServerError => (StatusCode::INTERNAL_SERVER_ERROR, "Internal Server Error").into_response(),
3232
Self::UnableToQueryUserInfo => (StatusCode::INTERNAL_SERVER_ERROR, "Unable to Query User Info").into_response(),

0 commit comments

Comments
 (0)