diff --git a/examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.bal b/examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.bal similarity index 100% rename from examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.bal rename to examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.bal diff --git a/examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.md b/examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.md similarity index 95% rename from examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.md rename to examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.md index 3aebd64b4a..b4c21cc38e 100644 --- a/examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.md +++ b/examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.md @@ -1,4 +1,4 @@ -# GraphQL client - Self signed JWT authentication +# GraphQL client - JWT authentication The `graphql:Client` can connect to a service that is secured with self-signed JWT by adding the `Authorization: Bearer ` header by passing the `graphql:JwtIssuerConfig` to the `auth` configuration of the client. A self-signed JWT is issued before the request is sent. diff --git a/examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.metatags b/examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.metatags similarity index 100% rename from examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.metatags rename to examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.metatags diff --git a/examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.out b/examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.out similarity index 100% rename from examples/graphql-client-security-self-signed-jwt-authentication/graphql_client_security_self_signed_jwt_authentication.out rename to examples/graphql-client-security-jwt-authentication/graphql_client_security_jwt_authentication.out diff --git a/examples/graphql-service-jwt-auth/graphql_service_jwt_auth.md b/examples/graphql-service-jwt-auth/graphql_service_jwt_auth.md index afc068d380..ae620e6359 100644 --- a/examples/graphql-service-jwt-auth/graphql_service_jwt_auth.md +++ b/examples/graphql-service-jwt-auth/graphql_service_jwt_auth.md @@ -8,7 +8,7 @@ Run the service by executing the command below. ::: out graphql_service_jwt_auth.server.out ::: ->**Tip:** You can invoke the above service via the [GraphQL client - Self-signed JWT authentication](/learn/by-example/graphql-client-security-self-signed-jwt-authentication/) example. +>**Tip:** You can invoke the above service via the [GraphQL client - JWT authentication](/learn/by-example/graphql-client-security-jwt-authentication/) example. ## Related links - [`graphql:ServiceConfig` annotation - API documentation](https://lib.ballerina.io/ballerina/graphql/latest#ServiceConfig) diff --git a/examples/index.json b/examples/index.json index c2c702d4c4..7c568b7077 100644 --- a/examples/index.json +++ b/examples/index.json @@ -2721,7 +2721,7 @@ }, { "name": "Self-signed JWT authentication", - "url": "graphql-client-security-self-signed-jwt-authentication", + "url": "graphql-client-security-jwt-authentication", "verifyBuild": true, "verifyOutput": false, "disablePlayground": true,