diff --git a/spring-graphql-docs/antora.yml b/spring-graphql-docs/antora.yml index b5049c4a..e0b55fd7 100644 --- a/spring-graphql-docs/antora.yml +++ b/spring-graphql-docs/antora.yml @@ -29,4 +29,5 @@ asciidoc: javadoc: https://docs.spring.io/spring-graphql/docs/{spring-graphql-version}/api # version attributes from main build.gradle spring-framework-ref-docs: https://docs.spring.io/spring-framework/reference - spring-boot-ref-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/html \ No newline at end of file + spring-boot-ref-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/html + examples-repo: https://github.com/spring-projects/spring-graphql-examples \ No newline at end of file diff --git a/spring-graphql-docs/modules/ROOT/pages/samples.adoc b/spring-graphql-docs/modules/ROOT/pages/samples.adoc index 2cc35469..57be3266 100644 --- a/spring-graphql-docs/modules/ROOT/pages/samples.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/samples.adoc @@ -1,4 +1,4 @@ [[samples]] = Samples -Please, see the [spring-graphql-examples](https://github.com/spring-projects/spring-graphql-examples) repository. +Please, see the {examples-repo}[spring-graphql-examples] repository. diff --git a/spring-graphql-docs/modules/ROOT/pages/transports.adoc b/spring-graphql-docs/modules/ROOT/pages/transports.adoc index b2c33a69..4df7d430 100644 --- a/spring-graphql-docs/modules/ROOT/pages/transports.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/transports.adoc @@ -203,6 +203,8 @@ one for the WebMVC and one for the WebFlux transports. These help to extract aut details from the payload of a `"connection_init"` GraphQL over WebSocket message, authenticate, and then propagate the `SecurityContext` to subsequent requests on the WebSocket connection. +TIP: There is a websocket-authentication sample in {examples-repo}[spring-graphql-examples]. + [[server.interception.rsocket]]