aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security/credentials/jwt
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2016-06-06 09:50:38 +0200
committerGravatar Julien Boeuf <jboeuf@google.com>2016-06-06 09:50:38 +0200
commitb5fe44ea0f7e5ef6f013d6c97725f93a74fed5ef (patch)
tree59a01500a39dcfa1c3aa0736fed76b636b2551ff /src/core/lib/security/credentials/jwt
parentbfc7ed66286a77ed4dca0ec1feb23912b2ec1f02 (diff)
Adding error details for JWT and oauth2.
Diffstat (limited to 'src/core/lib/security/credentials/jwt')
-rw-r--r--src/core/lib/security/credentials/jwt/jwt_credentials.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/security/credentials/jwt/jwt_credentials.c b/src/core/lib/security/credentials/jwt/jwt_credentials.c
index 0d29729da1..7f96e5247b 100644
--- a/src/core/lib/security/credentials/jwt/jwt_credentials.c
+++ b/src/core/lib/security/credentials/jwt/jwt_credentials.c
@@ -116,7 +116,8 @@ static void jwt_get_request_metadata(grpc_exec_ctx *exec_ctx,
GRPC_CREDENTIALS_OK, NULL);
grpc_credentials_md_store_unref(jwt_md);
} else {
- cb(exec_ctx, user_data, NULL, 0, GRPC_CREDENTIALS_ERROR, NULL);
+ cb(exec_ctx, user_data, NULL, 0, GRPC_CREDENTIALS_ERROR,
+ "Could not generate JWT.");
}
}