Home
last modified time | relevance | path

Searched refs:jwks_uri (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc679 const char* jwks_uri; in on_openid_config_retrieved() local
689 jwks_uri = validate_string_field(cur, "jwks_uri"); in on_openid_config_retrieved()
690 if (jwks_uri == nullptr) goto error; in on_openid_config_retrieved()
691 if (strstr(jwks_uri, "https://") != jwks_uri) { in on_openid_config_retrieved()
692 gpr_log(GPR_ERROR, "Invalid non https jwks_uri: %s.", jwks_uri); in on_openid_config_retrieved()
695 jwks_uri += 8; in on_openid_config_retrieved()
697 req.host = gpr_strdup(jwks_uri); in on_openid_config_retrieved()
698 req.http.path = const_cast<char*>(strchr(jwks_uri, '/')); in on_openid_config_retrieved()
702 *(req.host + (req.http.path - jwks_uri)) = '\0'; in on_openid_config_retrieved()